commit a9d6eef82bcd53336215cfd07c2b54c6b89bc1f1 parent ec68f9c8885ec55adff4b6feaced88e591b80307 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 19 Aug 2019 12:39:18 +0200 Merge branch 'master' of gitlab.com:admesg/dotfiles Diffstat:
M | .local/bin/sync-music.sh | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.local/bin/sync-music.sh b/.local/bin/sync-music.sh @@ -1,5 +1,5 @@ #!/bin/bash -host=iddqd:~/music +host=iddqd:~/music/ if [ "$(uname)" = "Darwin" ]; then musicdir="$HOME/Music/iTunes/iTunes Media/Music/" else @@ -7,9 +7,9 @@ else fi echo "syncing new music to $host" -rsync -rav --progress -e "ssh -p 12344" "$musicdir" $host +rsync -rav --progress -e "ssh" "$musicdir" $host -#echo "syncing new music from $host" -rsync -rav --progress -e "ssh -p 12344" $host "$musicdir" +echo "syncing new music from $host" +rsync -rav --progress -e "ssh" $host "$musicdir" mpc update