I'm trying to sync a case sensitive directory (ext4 drive) to a case insensitive storage (Jottacloud) though crypt (without file/directory name encryption).
That's working properly but I have a lot of "Duplicate objects" because of the case sensitive to insensitive change.
I've seen the rclone dedupe command so I've tried using it to rename all duplicates unsuccessfully [rclone dedupe -P Local:/mnt -l -v --dry-run --dedupe-mode rename --local-case-sensitive] because I think that's not the intended use case.
I searched for some time about some flag to make the sync command rename the duplicates but without success. I only saw a --fix-case flag but it doesn't seem to be in the latest version i could get and it doesn't seem to target my problem.
Am I missing something or it isn't a supported behaviour in rclone sync?
Version
The command is run from a docker container using the official rclone/rclone image
rclone 1.53.3
- os/arch: linux/amd64
- go version: go1.15.5
Hi,
thanks for the answer.
The command you gave me (without --files-only because I have "duplicate" directories too) with wc -l appended found 1208 duplicates.
If rclone is not the right tool is not a big deal.
I can write a small dotnet program to rename all duplicates appending some suffix.
Thanks again
Have a nice day,
Francesco