rclone-backup icon indicating copy to clipboard operation
rclone-backup copied to clipboard

Sync cannot handle renaming files

Open bmrejen opened this issue 5 years ago • 1 comments

If you rename old_file_name into new_file_name, then the sync script will delete old_file_name in the remote and upload new_file_name.

This is not a big issue for small files, but it does become a problem for larger files like movies, as that mean an unnecessary upload of a file already in the remote.

Supporting renaming would be a great feature

bmrejen avatar Oct 20 '20 22:10 bmrejen

You can try to add the --track-renames and --track-renames-strategy flags. It may not be compatible with all encrypted destinations, as said in the rclone documentation :

  • https://rclone.org/docs/#track-renames

FoxP avatar May 02 '24 19:05 FoxP