diff options
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 + |