Map illegal characters to something valid

What is the problem you are having with rclone?

I'm downloading files from Google Drive onto an external HDD formatted as exFAT. I'm on Linux. Some of the filenames have a colon ':' in their filename, which is illegal in exFAT. How can I tell rclone to change those to another character?

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.2
- os/version: arch (64 bit)
- os/kernel: 6.11.6-arch1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.3
- go/linking: dynamic
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy -P --tpslimit 10 gdrive:src /run/media/me/dst

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[gdrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive.readonly
copy_shortcut_content = true
shared_with_me = true
metadata_owner = off
team_drive = 
token = XXX

A log from the command that you were trying to run with the -vv flag

2024/11/17 11:25:30 ERROR : dirname 04:12:56/filename.tif: Failed to copy: multi-thread copy: failed to open chunk writer: mkdir /run/media/me/dst/dirname 04:12:56: no such file or directory
2024/11/17 11:25:32 ERROR : dirname 04:12:56/filename.xml: Failed to copy: mkdir /run/media/me/dst/dirname 04:12:56: no such file or directory

All details here. You can define your own encoding.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.