Rysnc Fails When Copying Files With Tilde: rsync: [sender] fstat failed: No such file or directory
Rsync Error:
send_files(71922, /source/TQR6~B)
rsync: [sender] fstat failed: No such file or directory (2)
Trying to rsync between two different machines, I found rsync fails when it finds files that have ~ (tilde) in their filenames. I initially thought this was an issue specific to copying from a Samba Share to FreeBSD zpool. I couldn’t solve the issue entirely but figured escaping the awful tilde was a way to finish copying without rsync crashing. Here’s the command:
rysnc -a –exclude=’*~*’/source /destination
💢