cptodest=false
}
-main() {
- WORK="$(pwd)/work.$$" # temporary working directory
- SCRIPTPATH="/usr/bin" # path to flactomp3v2 and notify.sh script
- MUSICPATH="/tmp/musikpath" # flac collection directory
-
- ExistsBasicProgramms
- LoadConfig
-
- ExistsScripts "$SCRIPTPATH"
-
- SetDefaultVariables
-
- # read parameters
+ReadArguments() {
while getopts "chi:m:S:rw:z:" optname; do
case "$optname" in
"c")
;;
esac
done
+}
+
+main() {
+ WORK="$(pwd)/work.$$" # temporary working directory
+ SCRIPTPATH="/usr/bin" # path to flactomp3v2 and notify.sh script
+ MUSICPATH="/tmp/musikpath" # flac collection directory
+
+ ExistsBasicProgramms
+ LoadConfig
+
+ ExistsScripts "$SCRIPTPATH"
+
+ SetDefaultVariables
+
+ ReadArguments $*
# check albumlist is set
if [ ! -f "$albumlist" ]; then