commit 3a0933002fa22770b20f04eed20ecf841e514789 parent 93483996a68b4d9a23450bd825410a64fb88e448 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 12 Apr 2018 10:34:26 -0400 Fix synchronization script to idkfa Diffstat:
M | links/bin/sync-music-idkfa.sh | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/links/bin/sync-music-idkfa.sh b/links/bin/sync-music-idkfa.sh @@ -1,8 +1,9 @@ #!/bin/bash host=ad@idkfa.ucsd.edu:/home/ad/music/ +musicdir="$HOME/Music/iTunes/iTunes Media/Music/" echo "syncing new music from $host" -rsync -rav --progress -e "ssh" $host /Users/ad/Music/iTunes/Music/ +rsync -rav --progress -e "ssh" $host "$musicdir" echo "syncing new music to $host" -rsync -rav --progress -e "ssh" /Users/ad/Music/iTunes/Music/ $host +rsync -rav --progress -e "ssh" "$musicdir" $host