Remove trailing slash for nicer symlink paths
This commit is contained in:
parent
9cab744773
commit
a3f75914ed
@ -11,10 +11,15 @@ cd "$HOME/Nextcloud/MusikRaw"
|
||||
ls -d */ > artistdirectories
|
||||
|
||||
while read -r artdir; do
|
||||
# FIXME remove trailing slash
|
||||
artdir="${artdir%/}"
|
||||
# change into artist directory
|
||||
cd "$artdir"
|
||||
# get albums
|
||||
ls -d */ > directories
|
||||
while read -r dir; do
|
||||
# FIXME remove trailing slash
|
||||
dir="${dir%/}"
|
||||
# change into directory
|
||||
cd "$dir"
|
||||
# create directory in music
|
||||
|
Loading…
Reference in New Issue
Block a user