Command-line Knowledge Base

rsync

The "Trailing Slash" Rule
For a preview* of a safe, efficient, and informative transfer, use:

* No actual changes made.

rsync -avhP --dry-run /src/ /dest/
For a safe, efficient, and informative transfer, use:
rsync -avhP /src/ /dest/
To mount a device
gio mount DEVICE
To unmount a device
gio mount -u DEVICE