commit 81a571add44806aca0c55990c66fb9aa33cf87d0 parent 54373c209b0ecb9d5e506dcf8d333cd5dabca955 Author: Anders Damsgaard Christensen <adc@geo.au.dk> Date: Mon, 19 Sep 2016 21:55:32 -0700 add music syncing script Diffstat:
A | bin/sync-music-idkfa.sh | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/bin/sync-music-idkfa.sh b/bin/sync-music-idkfa.sh @@ -0,0 +1,8 @@ +#!/bin/bash +host=ad@idkfa.ucsd.edu:/home/ad/music/ + +echo "syncing new music from $host" +rsync -rav --progress -e "ssh" $host /Users/ad/Music/iTunes/Music/ + +echo "syncing new music to $host" +rsync -rav --progress -e "ssh" /Users/ad/Music/iTunes/Music/ $host