Syncing Directories Between Mac and Windows

From Littledamien Wiki
Revision as of 20:56, 28 August 2015 by Video8 (talk | contribs) (Created page with "Category:MacOS Category:Windows == Mac == <syntaxhighlight lang="bash"> $ cd path/to/parent/of/directory/to/be/synced/ $ rsync -a /Volumes/share/path/to/src/ src </s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Mac

$ cd path/to/parent/of/directory/to/be/synced/
$ rsync -a /Volumes/share/path/to/src/ src

The -a flag is recursive, and it preserves permissions.

To preview the operation, use the -n (dry-run) and -v (verbose) flags:

$ rsync -anv /Volumes/share/path/to/src/ src