Hello,
I am trying to rename files with illegal characters from my dropbox account.
So for example files that include a colon, :, I can list the files with ls --include "*:*" but is there a way to run another command to use the copyto command to rename them?
Or would I need to do rclone copyto --include "*:*" remote:folder/ remote:/folder/newfilename
But there is no way I can think of that would allow for rclone just to remove the ":" and leave the rest of the filename alone.
Am I missing a solution somewhere? Like in serve or the rc option?
Thank you for your time and for rclone it helped me a lot in the past
What is the problem you are having with rclone?
Consecutive commands possible? Search and rename/replace?
Run the command 'rclone version' and share the full output of the command.
Which cloud storage system are you using? (eg Google Drive)
Dropbox
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone ls --include "*:*" remote:folder/
The rclone config contents with secrets removed.
Not relevant (I assume)
A log from the command with the -vv flag
2022/05/10 13:58:46 DEBUG : rclone: Version "v1.53.2" starting with parameters ["rclone" "-vv"]
The remote is not mounted, but I did not think of that, to run unix commands against a mounted remote, because I am on windows, I probably can use WSL2 to access the mounted system on the Windows side.
I know in theory, but there are literally hundreds of files that where uploaded or synced there or renamed, with illegal filenames on the Dropbox. They are definitely there.
I am trying to prove it with rclone ls --include "*:*" n:/meemoo-Team/ > rclonelog-colon.log | wc -l
But I am stuck for now, too many requests "Too many requests or write operations. Trying again in 300 seconds.".
The only characters dropbox can't use are listed here
$ rclone help flags dropbox.*enc
Backend Flags:
--dropbox-encoding MultiEncoder The encoding for the backend (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
So you can have pretty much any character on dropbox except / and \
If you want more characters escaped on upload then you can add to the list for --dropbox-encoding