RsyncProject / rsync

An open source utility that provides fast incremental file transfer. It also has useful features for backup and restore operations among many other use cases.
https://rsync.samba.org
Other
2.96k stars 340 forks source link

Files with names that contain punctuation marks like question marks or commas error out and don't get synced #670

Open PrecisionWordcraft opened 1 week ago

PrecisionWordcraft commented 1 week ago

Files with names that contain punctuation marks like question marks or commas error out and don't get synced. If you rename the file to omit the punctuation, the file will sync.

The error looks like this:

rsync: [receiver] mkstemp "/run/media/user/drive/Re: Freelance editor at large, looking for great new clients_.pdf.K1KPHy" failed: Invalid argument (22)

cccslater commented 1 week ago

NTFS doesn’t like files ending in . This for me is not an rsync error it is NTFS problem

I am experiencing something similar, rsync 3.3.0 on fedora. I’m copying files using -a.

I have 2 music albums named (verbatim) ‘Barbara & Ernie - Prelude to…’ and ‘John Cooper Clarke - Snap, Crackle [&] Bop.’

For each of these directories, rsync gives me ‘skipping directory’ and no other details.

Oddly enough, I’ve just noticed ‘Bini & Martini - In the Mix’ and ‘Lonnie Liston Smith & The Cosmic Echoes - Visions of a New World’ transferred fine.