Copy files with the same name

I am copying files on different folders from Windows server to Google Drive. I want to have a flag that if any files are found with same name it it will add a number to the file name, not updating the file.

I am using the following command now:

rclone copy D:\Users\user\ des: --drive-impersonate user@domain --log-file rclone/logs/log.log -vv -P

That doesn't exist.

You can use --backup-dir perhaps or versioning perhaps with whatever remote you are using.

1 Like

I haven't tried and @Animosity022 is usually right, but perhaps --suffix=someTIMESTAMP could do the trick for you:

https://rclone.org/docs/#suffix-suffix
https://rclone.org/docs/#suffix-keep-extension

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.