Syncing Directories Between Mac and Windows: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 20:56, 28 August 2015


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