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
|
||||
@ -146,3 +151,4 @@ fi
|
||||
CreateFileList $source $dest ""
|
||||
ConvertFiles
|
||||
CopyFiles
|
||||
CleanUp
|
Loading…
Reference in New Issue
Block a user