Skip to content

Instantly share code, notes, and snippets.

@gwu1
gwu1 / Useful_rsync_reference.md
Last active April 10, 2020 19:00
Useful rsync reference

Local:

rsync -avh --no-compress --progress <source_dir> <dest_dir> --exclude <dir after source_dir> --append-verify

  • a: archive
  • v: increase verbosity
  • h: human readable
  • --no-compress: don't compress to transfer as it's local
  • --progress: show progress
  • --append-verify: can resume if interrupted / failure