move config debugging to debug level 1
This commit is contained in:
parent
e1afb6ab28
commit
7328a9e25c
58
atom
58
atom
@ -970,37 +970,39 @@ then
|
||||
exit $ENOCFG
|
||||
fi
|
||||
getConfig
|
||||
{
|
||||
cat <<EOF
|
||||
General|Load|$maxload
|
||||
|Load Interval|$loadinterval
|
||||
|Temp Dir|$tempdir
|
||||
|Database|$database
|
||||
|Debug|$debug
|
||||
Source|Path|$sourcepath
|
||||
EOF
|
||||
for prune_expression in "${skippeddirectories[@]}"
|
||||
do
|
||||
|
||||
if (( debug ))
|
||||
then
|
||||
cat <<-EOF
|
||||
General|Load|$maxload
|
||||
|Load Interval|$loadinterval
|
||||
|Temp Dir|$tempdir
|
||||
|Database|$database
|
||||
|Debug|$debug
|
||||
Source|Path|$sourcepath
|
||||
EOF
|
||||
for prune_expression in "${skippeddirectories[@]}"
|
||||
do
|
||||
echo "|Skipped directory|$prune_expression"
|
||||
done
|
||||
for destination in ${!destinationpath[@]}
|
||||
do
|
||||
cat <<EOF
|
||||
$destination|Path|${destinationpath[$destination]}
|
||||
|Format|${destinationformat[$destination]}
|
||||
|Quality|${destinationquality[$destination]}
|
||||
|Normalize|${destinationnormalize[$destination]}
|
||||
|Channels|${destinationchannels[$destination]}
|
||||
|Frequency|${destinationfrequency[$destination]}
|
||||
|Path Change|${destinationrenamepath[$destination]}
|
||||
|File Rename|${destinationrename[$destination]}
|
||||
EOF
|
||||
echo "|Skipped mime-type|${destinationskipmime[$destination]//\|/
|
||||
done
|
||||
for destination in ${!destinationpath[@]}
|
||||
do
|
||||
cat <<-EOF
|
||||
$destination|Path|${destinationpath[$destination]}
|
||||
|Format|${destinationformat[$destination]}
|
||||
|Quality|${destinationquality[$destination]}
|
||||
|Normalize|${destinationnormalize[$destination]}
|
||||
|Channels|${destinationchannels[$destination]}
|
||||
|Frequency|${destinationfrequency[$destination]}
|
||||
|Path Change|${destinationrenamepath[$destination]}
|
||||
|File Rename|${destinationrename[$destination]}
|
||||
EOF
|
||||
echo "|Skipped mime-type|${destinationskipmime[$destination]//\|/
|
||||
|Skipped mime-type|}"
|
||||
echo "|Copied mime-type|${destinationcopymime[$destination]//\|/
|
||||
echo "|Copied mime-type|${destinationcopymime[$destination]//\|/
|
||||
|Copied mime-type|}"
|
||||
done
|
||||
}|column -t -s'|' -n
|
||||
done
|
||||
fi |column -t -s'|' -n
|
||||
|
||||
openDatabase
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user