Added cleanup
This commit is contained in:
parent
0e0b52cb3e
commit
2dad9781eb
@ -138,6 +138,11 @@ CopyFiles() {
|
|||||||
done < "/tmp/music-sync-filelist"
|
done < "/tmp/music-sync-filelist"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CleanUp() {
|
||||||
|
rm "/tmp/music-sync-filelist"
|
||||||
|
rm "/tmp/converted"
|
||||||
|
}
|
||||||
|
|
||||||
GetOptions $@
|
GetOptions $@
|
||||||
if [[ "$help" == true ]]; then
|
if [[ "$help" == true ]]; then
|
||||||
Usage
|
Usage
|
||||||
@ -145,4 +150,5 @@ if [[ "$help" == true ]]; then
|
|||||||
fi
|
fi
|
||||||
CreateFileList $source $dest ""
|
CreateFileList $source $dest ""
|
||||||
ConvertFiles
|
ConvertFiles
|
||||||
CopyFiles
|
CopyFiles
|
||||||
|
CleanUp
|
Loading…
Reference in New Issue
Block a user