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