Added more verbosity
This commit is contained in:
parent
2dad9781eb
commit
143a1dfa81
@ -124,6 +124,7 @@ ConvertFiles() {
|
||||
mkdir -p "/tmp/converted/${line%/*}";
|
||||
fi;
|
||||
lame -q 0 -b 192 $source/$line /tmp/converted/$line 1>/dev/null 2>/dev/null
|
||||
VerboseOutput "Info" "Converted $line"
|
||||
done < "/tmp/music-sync-filelist"
|
||||
}
|
||||
|
||||
@ -136,11 +137,14 @@ CopyFiles() {
|
||||
fi;
|
||||
cp -f $source/$line $dest/$line # 1>/dev/null 2>/dev/null
|
||||
done < "/tmp/music-sync-filelist"
|
||||
VerboseOutput "Info" "Copied $line"
|
||||
}
|
||||
|
||||
CleanUp() {
|
||||
VerboseOutput "Info" "Cleaning Up"
|
||||
rm "/tmp/music-sync-filelist"
|
||||
rm "/tmp/converted"
|
||||
VerboseOutput "Info" "Done"
|
||||
}
|
||||
|
||||
GetOptions $@
|
||||
|
Loading…
Reference in New Issue
Block a user