]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
fix: flacs remove with find
authorBastian Dehn <hhaalo@arcor.de>
Tue, 12 May 2020 19:32:24 +0000 (21:32 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 12 May 2020 19:32:24 +0000 (21:32 +0200)
albentohandy

index 2ac2d14961ce2921e419cc99cc76ea3a04d9b0a3..9673dacb8d302440231cbd30004eabdaea881278 100755 (executable)
@@ -63,7 +63,7 @@ CleanupFlac()
 {
        local readonly workdir="$1"
 
-       find $workdir -name '*.flac' |  sort | xargs rm
+       find $workdir -name '*.flac' -exec rm {} \;
 }
 
 CleanupWorkDir()