organize
This commit is contained in:
7
scripts/sync_music
Executable file
7
scripts/sync_music
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
rsync -aP $HOME/wdraidz/media/music/ $HOME/music/ > $HOME/.sync_log && SUCCESS=1
|
||||
if [[ $SUCCESS == 1 ]]; then
|
||||
notify-send "sync complete; logged to $HOME/.sync_log" -i :
|
||||
else
|
||||
notify-send "sync error..." -i :
|
||||
fi
|
||||
Reference in New Issue
Block a user