Directory not found when transfering from xfs to exFAT in Local Transfer

What is the problem you are having with rclone?

I'm copying between two local filesystems, /mnt/user/ (xfs) and /mnt/disks/ZRS135F4/ (exFAT). I keep running into errrors with files that have special characters:

2025/02/18 22:27:22 ERROR : data/media/music/Bedwetter/Volume 1 - Flick Your Tongue Against Your Teeth and Describe the Present.: error reading source directory: directory not found
2025/02/18 22:27:23 ERROR : data/media/music/Billie Eilish/When We All Fall Asleep, Where Do We Go?: error reading source directory: directory not found
2025/02/18 22:27:27 ERROR : data/media/music/Childish Gambino/"Awaken, My Love!": error reading source directory: directory not found
2025/02/18 22:27:46 ERROR : data/media/music/Maybeshewill/Seraphim & Cherubim : Heartflusters: error reading source directory: directory not found

I've tried what other posters have suggested and tweaked --local-encoding

"--local-encoding" "Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot,LeftSpace"

or

"--local-encoding" "None"

but I have the same errors.

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

rclone v1.69.0
- os/version: slackware 15.0+ (64 bit)
- os/kernel: 6.6.68-Unraid (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.4
- go/linking: static
- go/tags: none

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

Local

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

2025/02/18 22:27:08 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "copy" "/mnt/user" "/mnt/disks/ZRS135F4/host-backup" "-vv" "--buffer-size" "512M" "--drive-chunk-size" "512M" "--tpslimit" "8" "--checkers" "8" "--transfers" "4" "--order-by" "modtime,ascending" "--filter-from" "/mnt/user/appdata/other/rclone/remotes/gd/rclone_filters.txt" "--exclude" "appdata/**" "--include" "data/media/music/**" "--local-encoding" "Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot,LeftSpace" "--bind="
2025/02/19 07:54:47 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "copy" "/mnt/user" "/mnt/disks/ZRS135F4/host-backup" "-vv" "--buffer-size" "512M" "--drive-chunk-size" "512M" "--tpslimit" "8" "--checkers" "8" "--transfers" "4" "--order-by" "modtime,ascending" "--filter-from" "/mnt/user/appdata/other/rclone/remotes/gd/rclone_filters.txt" "--exclude" "appdata/**" "--include" "data/media/music/**" "--local-encoding" "None" "--bind="]

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

[gd]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
root_folder_id = XXX
server_side_across_configs = true
team_drive = 

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

Please see above for relevant log errors

I would start without rclone. Maybe there are some limitations within your environment:

$ cp -R /mnt/user/data/media/music/Maybeshewill /mnt/disks/ZRS135F4/host-backup

Does it work? And is Seraphim & Cherubim : Heartflusters copied?

BTW - where you got your flags from? It looks like some random copy/paste from the internet. Or some hallucinating AI:) For example google drive specific flags have no use for local remotes...

For testing just use:

rclone copy /mnt/user /mnt/disks/ZRS135F4/host-backup -vv 

plus filters and config location

1 Like

Does it work? And is Seraphim & Cherubim : Heartflusters copied?

cp: cannot create directory '/mnt/disks/ZRS135F4/host-backup/Seraphim & Cherubim : Heartflusters': No such file or directory

hmm, maybe this is the main issue. Let me try to figure this out

BTW - where you got your flags from? It looks like some random copy/paste from the internet. Or some hallucinating AI:) For example google drive specific flags have no use for local remotes...

haha no, I was just lazy and used the same function in my script which had the additional flags, since this is part of a broader 3-2-1 backup strategy. I'll clean those up.

1 Like

OK. Thx for reporting back. Looks like it is beyond rclone powers to overcome some existing limitations of these local filesystems.

I decided to rename the directories and conform to exFAT character limitations to keep it simple. Thanks again!

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