What is the problem you are having with rclone?
I'm copying / syncing between two remotes. One remote, the source, supports longer filenames than the destination remote. Consequently, there are a few files (under 5 files total) that have filename truncation issues on the destination.
Is it possible, using filters or some other means, to have Rclone map the long filenames to a user-defined shorted name (and vice-versa) when copying between the remotes? The number of files affected by this is small enough that I could easily manually create a mapping table, if such a thing is possible.
To put it another way, suppose a file is named "A really long filename.txt" on the source. Is there any way to have Rclone automatically store this file as "A shorter name.txt" on the destination, and then have it restore the full name of "A really long filename.txt" when syncing from the destination remote (or doing compare operations between the source and the destination)? I.e., some configuration file or environment variable that would map / replace a specific string of text based on the remote in use?
I have thought of just manually copying the files in question to the destination with new names, but then if I perform a sync or compare operation Rclone doesn't know about the new name so the compare either fails or the sync tries to re-copy the file.
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-112-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Various
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync src: dest: