From b7f30a8bc5524ae62d39693719e969ef0f4495e6 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 3 Aug 2017 22:17:44 +0600 Subject: mac-sync-disks --- mac-sync-disks | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 mac-sync-disks (limited to 'mac-sync-disks') 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 + -- cgit v1.2.3