Note: I am using my OS repo version of rclone, not latest. Is this okay?
What is the problem you are having with rclone?
My local directory tree is getting cumbersome so I moved some directories. e.g.
mkdir funky-new-directory
mv a b c funky-new-directory
I made the same changes on my gdrive crypt remote to keep them in sync without uploading everything again.
rclone mkdir remote:top-level/funky-new-directory
rclone mkdir remote:top-level/funky-new-directory/a
rclone mkdir remote:top-level/funky-new-directory/b
rclone mkdir remote:top-level/funky-new-directory/c
rclone move remote:top-level/a remote:top-level/funky-new-directory/a
rclone move remote:top-level/b remote:top-level/funky-new-directory/b
rclone move remote:top-level/c remote:top-level/funky-new-directory/c
Now, when I do a dry run sync on one of the directories, rclone wants to upload some of the local files. These files looked identical before the move.
$ rclone sync funky-new-directory/a remote:top-level/funky-new-directory/a --dry-run
2022/09/09 18:56:26 NOTICE: foo: Skipped copy as --dry-run is set (size 13.344Ki)
2022/09/09 18:56:27 NOTICE: bar: Skipped copy as --dry-run is set (size 99.046Ki)
2022/09/09 18:56:27 NOTICE: baz: Skipped copy as --dry-run is set (size 99.136Ki)
2022/09/09 18:56:27 NOTICE: bop: Skipped copy as --dry-run is set (size 19.267Ki)
2022/09/09 18:56:27 NOTICE:
Transferred: 230.792Ki / 230.792 KiByte, 100%, 0 Byte/s, ETA -
Checks: 38 / 38, 100%
Transferred: 4 / 4, 100%
Elapsed time: 2.6s
When I run the check command, it shows more differences than the dry run sync indicates.
$ rclone check funky-new-directory/a remote:top-level/funky-new-directory/a
2022/09/09 18:59:39 ERROR : No common hash found - not using a hash for checks
2022/09/09 18:59:39 ERROR : foo: File not in Encrypted drive 'remote:top-level/funky-new-directory/a'
etc...
2022/09/09 18:59:39 NOTICE: Encrypted drive 'remote:top-level/funky-new-directory/a': 38 files missing
2022/09/09 18:59:39 NOTICE: Encrypted drive 'remote:top-level/funky-new-directory/a': 38 differences found
2022/09/09 18:59:39 NOTICE: Encrypted drive 'remote:top-level/funky-new-directory/a': 38 errors while checking
2022/09/09 18:59:39 Failed to check with 38 errors: last error was: 38 differences found
Run the command 'rclone version' and share the full output of the command.
$ rclone version
rclone v1.56.0
- os/version: debian 10.12 (64 bit)
- os/kernel: 5.9.1-rt20avl1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.5
- go/linking: static
- go/tags: none
$ apt show rclone
Package: rclone
Version: 1.45-3
Which cloud storage system are you using? (eg Google Drive)
google drive
[primary]
type = drive
scope = drive.file
team_drive =
[remote]
type = crypt
remote = primary:encrypted
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
See above.
The rclone config contents with secrets removed.
See above
A log from the command with the -vv
flag
Not sure which command to run with this flag.