🧀 Learn Linux

Advanced · Organize files

rsync: Synchronize directories and files

Syntax

rsync -av source/destination/

Options

-a
Archive mode
-v
Show details
--dry-run
Preview changes

Examples

rsync -av --dry-run projects/ backup/

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands