diff options
author | Patrick Simianer <p@simianer.de> | 2017-08-03 22:17:44 +0600 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2017-08-03 22:17:44 +0600 |
commit | b7f30a8bc5524ae62d39693719e969ef0f4495e6 (patch) | |
tree | 9035f075817d5a5a0a325f4fa532f51075060027 /mac-sync-disks | |
parent | 1198503a0af44c5d6576a2e4bf9904b0e7c2fe30 (diff) |
mac-sync-disks
Diffstat (limited to 'mac-sync-disks')
-rwxr-xr-x | mac-sync-disks | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mac-sync-disks b/mac-sync-disks new file mode 100755 index 0000000..d7c1ee8 --- /dev/null +++ b/mac-sync-disks @@ -0,0 +1,16 @@ +#!/usr/bin/env zsh + +set -x + +sudo rsync \ + --exclude-from=$HOME/.external-exclude \ + -avvAX \ + --hfs-compression \ + --protect-decmpfs \ + --fileflags \ + --crtimes \ + --delete \ + --one-file-system \ + /Volumes/external/ /Volumes/shared_external/p/ \ + 2>&1 + |