Flags:
--create-empty-src-dirs Create empty source dirs on destination after sync
-h, --help help for sync
Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
rclone sync onedrive:TEST drive:TEST -vv --track-renames --dry-run --track-renames-strategy modtime,size
2023/07/20 15:08:52 DEBUG : rclone: Version "v1.63.1" starting with parameters ["rclone" "sync" "onedrive:TEST" "drive:TEST" "-vv" "--track-renames" "--dry-run" "--track-renames-strategy" "modtime,size"]
2023/07/20 15:08:52 DEBUG : Creating backend with remote "onedrive:TEST"
2023/07/20 15:08:52 DEBUG : onedrive: Loaded invalid token from config file - ignoring
2023/07/20 15:08:53 DEBUG : Saving config "token" in section "onedrive" of the config file
2023/07/20 15:08:53 DEBUG : onedrive: Saved new token in config file
2023/07/20 15:08:53 DEBUG : Creating backend with remote "drive:TEST"
2023/07/20 15:08:54 DEBUG : Google drive root 'TEST': 'root_folder_id = 0AGpO07Pd6Q4NUk9PVA' - save this in the config to speed up startup
2023/07/20 15:08:55 INFO : Google drive root 'TEST': Making map for --track-renames
2023/07/20 15:08:55 INFO : Google drive root 'TEST': Finished making map for --track-renames
2023/07/20 15:08:55 DEBUG : Google drive root 'TEST': Waiting for checks to finish
2023/07/20 15:08:55 DEBUG : Google drive root 'TEST': Waiting for renames to finish
2023/07/20 15:08:55 NOTICE: # Unsorted.txt: Skipped move as --dry-run is set (size 114.621Ki)
2023/07/20 15:08:55 INFO : #Unsorted.txt: Renamed from "# Unsorted.txt"
2023/07/20 15:08:55 DEBUG : Google drive root 'TEST': Waiting for transfers to finish
2023/07/20 15:08:55 DEBUG : Waiting for deletions to finish
2023/07/20 15:08:55 INFO : There was nothing to transfer
2023/07/20 15:08:55 NOTICE:
Transferred: 114.621 KiB / 114.621 KiB, 100%, 0 B/s, ETA -
Checks: 2 / 2, 100%
Renamed: 1
Elapsed time: 3.1s
2023/07/20 15:08:55 DEBUG : 12 go routines active
rclone sync onedrive:TEST drive:TEST -vv --track-renames --dry-run --track-renames-strategy size
2023/07/20 15:09:48 DEBUG : rclone: Version "v1.63.1" starting with parameters ["rclone" "sync" "onedrive:TEST" "drive:TEST" "-vv" "--track-renames" "--dry-run" "--track-renames-strategy" "size"]
2023/07/20 15:09:48 DEBUG : Creating backend with remote "onedrive:TEST"
2023/07/20 15:09:49 DEBUG : Creating backend with remote "drive:TEST"
2023/07/20 15:09:49 DEBUG : Google drive root 'TEST': 'root_folder_id = 0AGpO07Pd6Q4NUk9PVA' - save this in the config to speed up startup
2023/07/20 15:09:50 INFO : Google drive root 'TEST': Making map for --track-renames
2023/07/20 15:09:50 INFO : Google drive root 'TEST': Finished making map for --track-renames
2023/07/20 15:09:50 DEBUG : Google drive root 'TEST': Waiting for checks to finish
2023/07/20 15:09:50 DEBUG : Google drive root 'TEST': Waiting for renames to finish
2023/07/20 15:09:51 NOTICE: # Unsorted.txt: Skipped move as --dry-run is set (size 114.621Ki)
2023/07/20 15:09:51 INFO : #Unsorted.txt: Renamed from "# Unsorted.txt"
2023/07/20 15:09:51 DEBUG : Google drive root 'TEST': Waiting for transfers to finish
2023/07/20 15:09:51 DEBUG : Waiting for deletions to finish
2023/07/20 15:09:51 INFO : There was nothing to transfer
2023/07/20 15:09:51 NOTICE:
Transferred: 114.621 KiB / 114.621 KiB, 100%, 0 B/s, ETA -
Checks: 2 / 2, 100%
Renamed: 1
Elapsed time: 2.7s
you have probably some typo etc.
in general:
use modtime preserving moveto to rename your files and then --track-renames-strategy modtime,size
use web interface to rename files and then --track-renames-strategy size
especially for second option always test with --dry-run
and update your rclone as you are on ancient v1.51.0 from 2020
hell nah bro it will upload and delete the file with diff name 2023/07/21 08:44:04 NOTICE: #Unsorted.txt: Skipped copy as --dry-run is set (size 125.715Ki)
and 2023/07/21 08:44:04 NOTICE: # Unsorted.txt: Skipped delete as --dry-run is set (size 125.715Ki)
number of files does not matter. You have to use the right commands.
In your case where two remotes use different hashes changes can be tracked only by files' modtime and size. It looks that whatever renaming method you use it changed files' modtime. So only size is remaining as an option:
C:\Users\hunter\Desktop\RcloneUpload>rclone sync "THD1:/Test" "ODGTB:/Test" --track-renames --track-renames-strategy size --dry-run -vv
2023/07/21 10:43:53 DEBUG : rclone: Version "v1.63.1" starting with parameters ["rclone" "sync" "THD1:/Test" "ODGTB:/Test" "--track-renames" "--track-renames-strategy" "size" "--dry-run" "-vv"]
2023/07/21 10:43:53 DEBUG : Creating backend with remote "THD1:/Test"
2023/07/21 10:43:53 DEBUG : Using config file from "C:\Users\hunter\Desktop\RcloneUpload\rclone.conf"
2023/07/21 10:43:54 DEBUG : fs cache: renaming cache item "THD1:/Test" to be canonical "THD1:Test"
2023/07/21 10:43:54 DEBUG : Creating backend with remote "ODGTB:/Test"
2023/07/21 10:43:56 DEBUG : fs cache: renaming cache item "ODGTB:/Test" to be canonical "ODGTB:Test"
2023/07/21 10:43:57 INFO : OneDrive root 'Test': Making map for --track-renames
2023/07/21 10:43:57 INFO : OneDrive root 'Test': Finished making map for --track-renames
2023/07/21 10:43:57 DEBUG : OneDrive root 'Test': Waiting for checks to finish
2023/07/21 10:43:57 DEBUG : OneDrive root 'Test': Waiting for renames to finish
2023/07/21 10:43:57 NOTICE: # Unsorted.txt: Skipped move as --dry-run is set (size 125.715Ki)
2023/07/21 10:43:57 INFO : #Unsorted.txt: Renamed from "# Unsorted.txt"
2023/07/21 10:43:57 DEBUG : OneDrive root 'Test': Waiting for transfers to finish
2023/07/21 10:43:57 DEBUG : Waiting for deletions to finish
2023/07/21 10:43:57 INFO : There was nothing to transfer
2023/07/21 10:43:57 NOTICE:
Transferred: 125.715 KiB / 125.715 KiB, 100%, 0 B/s, ETA -
Checks: 2 / 2, 100%
Renamed: 1
Elapsed time: 3.8s
2023/07/21 10:43:57 DEBUG : 7 go routines active yup it did......YESS but why it did not work before?
so we have to use -track-renames --track-renames-strategy size?
sorry to disturb but is there a command to like use sync and rename files but not upload. like just rename like any command like max_upload or something.
sorry to disturb but is there a command to like use sync and rename files but not upload. like just rename like any command like max_upload or something.
like i don;t want to upload anything just rename using rclone sync and track name.
will this work?
rclone sync "THD1:/" "ODGTB:/" --track-renames --track-renames-strategy size --bwlimit 0M -vv -P