bin/demlo-sync: Wrapper to sync music to external device
parent
fa39eaf57d
commit
42f866c0f7
|
@ -0,0 +1,2 @@
|
|||
help("Set 'pathsub' to be VFAT friendly. See path.lua.")
|
||||
pathsub = {{'["*?:/\|<>]', ""}}
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
path='lib="/media/COWON S9/Music"'
|
||||
if [ ! -d "/media/COWON S9/Music" ]; then
|
||||
path='lib="/run/media/'$(id -nu)'/COWON S9/Music"'
|
||||
fi
|
||||
demlo -p -exist skip -r '' -pre "$path" -s 59-path-sync -s 60-path "$@"
|
Loading…
Reference in New Issue