Skip to main content

Rsync

Fastest Way to Copy Ext4 Formatted Data to FreeBSD Using WSL2 as an Intermediary

I run immich on a very old dell laptop with 100mbps ethernet with USB connected disks for data. The disks are formatted ext4 and the dell runs fedora. (Immich doesn’t run on FreeBSD yet. :( ). When the disk was full, I wanted to use my FreeBSD server as the data drive over NFS. And retire the USB disks. This required copying about 500GB of data from the USB disk to my FreeBSD server before I could switch over.

Rsync 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: