Jump to content

Command Crate ¿about?

Sync local folder to remote server over SSH (rsync)

rsync -avz --delete --exclude='.ignore*' -e "ssh -p 2222 -C" /home/user/documents/ user@192.168.1.100:/backup/documents/

Syncs a local folder to a remote server using rsync over SSH, with compression and exclusions for files starting with .ignore.

file management [kb:187]