Non-standard SSH port + excludes rsync

Tunnel over custom SSH port and skip paths listed in excludes.txt (.git, node_modules, *.tmp)

rsync -a -e "ssh -p 2222" --exclude-from=excludes.txt /src/ user@<host>:/dst/
more rsync all 7 commands →