docs.daveops.net

Snippets for yer computer needs

File Transfer

xmodem

Using xmodem with macOS

brew install lrzsz

using GNU Screen, press ctrl-a, :, then type exec !! lsz -X thing.bin

Rsync

Use sudo on remote end

rsync -a -e "ssh" --rsync-path="/usr/bin/sudo /usr/bin/rsync" user@example.com:/remote_files/ local_dir/