### copy to other folder. It works on parallel, you can
### use it in a cluster with Parameter -S.
-WORK="$(pwd)/WORK.$$" # temporary working directory
+WORK="$(pwd)/work.$$" # temporary working directory
SCRIPTPATH="/usr/bin" # path to flactomp3v2 and notify.sh script
MUSICPATH="/tmp/musikpath" # flac collection directory
# check exist config and scripts
-# .albentohandy.conf: set SCRIPTPATH and MUISCPATH
+# .albentohandy.conf: set SCRIPTPATH and MUSICPATH
if [ -f $HOME/.albentohandy.conf ]; then
source $HOME/.albentohandy.conf
else
# make symlinks of original flac's in working directory
printf "\nPhase %02d of %02d: create symlinks of flac's to working directory %s\n" $((curphase++)) $phase "$WORK"
for i in $(cat "$albumlist"); do
- cp --recursive --symbolic-link $MUISCPATH/$i $WORK/
+ cp --recursive --symbolic-link $MUSICPATH/$i $WORK/
done
addInfo "<p>"