What is the problem you are having with rclone?
I'd like to rename files after syncing from Google Drive to Wasabi S3 and can't seem to find a way to do this. Renaming files on the source before sync is not an option, I don't have that level of access.
Right now I sync, change file names, sync again, and file names are reverted.
I would like to sync, change file names, sync again adding new files, change their names, etc...
What is your rclone version (output from rclone version
)
rclone v1.52.1
- os/arch: linux/amd64
- go version: go1.14.4
Which OS you are using and how many bits (eg Windows 7, 64 bit)
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
Which cloud storage system are you using? (eg Google Drive)
Google Drive, Wasabi
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync --drive-shared-with-me "gdrive:folder/sub-folder" "wasabi:bucket/folder" --track-renames
The rclone config contents with secrets removed.
[wasabi]
type = s3
provider = Wasabi
access_key_id = xxx
secret_access_key = xxx
endpoint = s3.wasabisys.com
location_constraint = us-east-1
acl = private
[gdrive]
type = drive
client_id = xxx
client_secret = xxx
scope = drive
token = {"access_token":"xxx","token_type":"Bearer","refresh_token":"xxx"}
root_folder_id = xxx
A log from the command with the -vv
flag
rclone sync --drive-shared-with-me gdrive:"folder"/"subfolder" wasabi:bucketname/"folder + name" --track-renames -vv
2020/06/23 23:57:33 DEBUG : rclone: Version "v1.52.1" starting with parameters ["rclone" "sync" "--drive-shared-with-me" "
gdrive:folder/subfolder" "wasabi:bucketname/folder + name" "--
track-renames" "-vv"]
2020/06/23 23:57:33 DEBUG : Using config file from "/home/jonathan_alumbaugh/.config/rclone/rclone.conf"
2020/06/23 23:57:36 NOTICE: Filename #311.2 - other stuff: Duplicate object found in source - ignoring
2020/06/23 23:57:36 NOTICE: Filename #327.1 - other stuff: Duplicate object found in source - ignoring
2020/06/23 23:57:36 INFO : S3 bucket bucketname path Filename folder: Making map for --track-renames
2020/06/23 23:57:36 INFO : S3 bucket bucketname path Filename folder: Finished making map for --track-renames
2020/06/23 23:57:36 DEBUG : S3 bucket bucketname path Filename folder: Waiting for checks to finish
2020/06/23 23:57:36 DEBUG : Filename #0.40 - other stuff.mp4: Size and modification time the same (differ by 0
s, within tolerance 1ms)
2020/06/23 23:57:36 DEBUG : Filename #0.40 - other stuff.mp4: Unchanged skipping
2020/06/23 23:57:36 DEBUG : Filename #0.41 - other stuff.mp4: Size and modification time the same (differ by 0s, wi
thin tolerance 1ms)
2020/06/23 23:57:36 DEBUG : Filename #0.41 - other stuff.mp4: Unchanged skipping
2020/06/23 23:57:36 DEBUG : Filename #1 - other stuff.mp4: Size and modification time the same (differ by 0s, within t
olerance 1ms)
2020/06/23 23:57:36 DEBUG : Filename #1 - other stuff.mp4: Unchanged skipping
2020/06/23 23:57:36 DEBUG : Filename #10 - other stuff.mp4: Size and modification time the same (differ by 0s, wit
hin tolerance 1ms)
2020/06/23 23:57:36 DEBUG : Filename #10 - other stuff.mp4: Unchanged skipping
2020/06/23 23:57:36 DEBUG : Filename #100 - other stuff.mp4: Size and modification time the same (differ by 0s, wit
hin tolerance 1ms)
2020/06/23 23:57:37 DEBUG : Filename #NA3 - other stuff.mp4: Size and modification time the same (differ by 0s, within tolerance 1ms)
2020/06/23 23:57:37 DEBUG : Filename #NA3 - other stuff.mp4: Unchanged skipping
2020/06/23 23:57:37 DEBUG : S3 bucket bucketname path Filename folder: Waiting for renames to finish
2020/06/23 23:57:37 DEBUG : S3 bucket bucketname path Filename folder: Waiting for transfers to finish
2020/06/23 23:57:37 DEBUG : Waiting for deletions to finish
2020/06/23 23:57:37 INFO : There was nothing to transfer
2020/06/23 23:57:37 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks: 676 / 676, 100%
Elapsed time: 0.5s
2020/06/23 23:57:37 DEBUG : 35 go routines active