Back to search

rsync

command filesystem

Fast, versatile file synchronization and transfer

Required Packages

sudo apt install -y rsync

Options

Local path or [user@]host:path

Local path or [user@]host:path

Preserves permissions, ownership, timestamps, symlinks

Makes dest an exact mirror of source

Show what would be transferred without actually doing it

Resume interrupted transfers instead of restarting

Use checksum instead of timestamp to detect changes

KB/s (e.g. 1000 = 1MB/s)

e.g. 'ssh -p 2222' for custom SSH port

Glob pattern to exclude (e.g. '*.log')

Generated Command

rsync -a -v

Related