So I discovered to day that rclone move has been deleting a bunch of files.
I think because sometimes the local files have the same name. Is their a way to force rclone to just rename files if they happen to have the same name instead of pushing the original file to the trash.
It will say file xxx has been uploaded by rclone
then the next thing in my google drive logs will be
xxx has been moved into trash( the file with the same name)
Can I see an example of the command with suffix added to it.
also what kind of arguments can I pass to suffix
rclone sync /path/to/local remote:current --backup-dir remote:old
s all I see
would it be
rclone sync /path/to/local remote:current --backup-dir remote:old --suffix=?
You donât need to use the --suffix if you donât want to. If you set --backup-dir to the same as the destination, then you might set it to.bak for example.
Lots of people use --backup-dir with the current date and time, eg ââbackup-dir remote:backup-`date -Is`â
Hmm maybe I am making a synx mistake becaues it keeps saying I canât get this to work
Using the command
rclone move /root/google/completed/CB gd:completed/CB --backup-dir gd:completed/CB --suffix=date
said files couldnât overlamp
rclone move /root/google/completed/CB gd:completed/CB --backup-dir gd:completed/CB --âdateâ
erroed out something about unknown commean
rclone move /root/google/completed/CB gd:completed/CB --backup-dir gd:completed/CB -âdateâ
didnât work either
Not sure how to fix this
also tried
rclone move /root/google/completed/CB gd:completed/CB --backup-dir gd:completed/CB -âdate -lsâ
My bad, I forgot that the --backup-dir and the destinaton canât overlap. Youâll have to use a separate directory or something like that for the backup dir.