dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 331cac7094af58c2d92fbc7a627bfd9393a020b2
parent c1598f38ab4428f7b89f8fc08aa0edb1345dd780
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 16 Aug 2019 15:17:10 +0200

Use iddqd as central music repository

Diffstat:
D.local/bin/sync-music-ad-server.sh | 15---------------
A.local/bin/sync-music.sh | 15+++++++++++++++
2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/.local/bin/sync-music-ad-server.sh b/.local/bin/sync-music-ad-server.sh @@ -1,15 +0,0 @@ -#!/bin/bash -host=ad@adamsgaard.dk:/Volumes/ext2/Music/ -if [ "$(uname)" = "Darwin" ]; then - musicdir="$HOME/Music/iTunes/iTunes Media/Music/" -else - musicdir="$HOME/music/" -fi - -echo "syncing new music to $host" -rsync --delete -rav --progress -e "ssh -p 12344" "$musicdir" $host - -#echo "syncing new music from $host" -#rsync -rav --progress -e "ssh -p 12344" $host "$musicdir" - -mpc update diff --git a/.local/bin/sync-music.sh b/.local/bin/sync-music.sh @@ -0,0 +1,15 @@ +#!/bin/bash +host=iddqd:~/music +if [ "$(uname)" = "Darwin" ]; then + musicdir="$HOME/Music/iTunes/iTunes Media/Music/" +else + musicdir="$HOME/music/" +fi + +echo "syncing new music to $host" +rsync -rav --progress -e "ssh -p 12344" "$musicdir" $host + +#echo "syncing new music from $host" +rsync -rav --progress -e "ssh -p 12344" $host "$musicdir" + +mpc update