Simply rsync command

If you want to simply copy the contents of one directory to another using rsync (so you can resume if copying to an SMB mounted filesystem on a wireless link, for example):

rsync -av --size-only /Volumes/Source Directory/ /Volumes/data/Destination Directory

-av tells rsync to archive and be verbose, --size-only tells it only to compare file sizes (as it is a local link, it's faster to just copy the file than to read it up and determine differences). The trailing slash should be on the source directory, but not on the destination directory.

No comments: