Monday, February 16, 2015

rsync - pulling to Window / cygwin from FreeNAS

Using rsync to pull files from a freeNAS box to a local Windows box.

  rsync.exe -avSP --delete root@9.55.51.124:/mnt/zBackup/tordev/* .

Here is what each of these do:

-a, --archive               Archive mode

-v, --verbose               Increase verbosity

-S, --sparse                Handle sparse files efficiently

-P                          equivalent to --partial --progress
     --partial               Keep partially transferred files
     --progress              Show progress during transfer

--delete        Delete files that don't exist on the sending side

No comments:

Post a Comment