X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=bash%2Flame-recoder%2Flamer.bash;h=ff0602e74380dfd45ef46dcaf3ee912abfd48b2b;hb=e19bc3943547a7758d4f62beedfd0ddc9846e48e;hp=da3b225583f2d861c339f5e059f12518fef70386;hpb=36923c9a96bdfa767e06d21598bbcb3a34aec39a;p=mirrors%2FPrograms.git diff --git a/bash/lame-recoder/lamer.bash b/bash/lame-recoder/lamer.bash index da3b225..ff0602e 100755 --- a/bash/lame-recoder/lamer.bash +++ b/bash/lame-recoder/lamer.bash @@ -82,11 +82,11 @@ encode() { tsign " Done: '$infile'; retval=$?"; } -echo "==> I will use $cpus CPU cores"; +echo "==> I will use $cpus CPU cores"; export -f encode; export quality outdir lamelog -find -regextype posix-egrep -iregex '.*'"$filetypes" | grep -v /"$outdir" | tr '\r\n' '\0\0' | xargs -0 -n 1 -P "$cpus" bash -c 'encode "$@"' -- +find -regextype posix-egrep -iregex '.*'"$filetypes" | grep -v /"$outdir" | sort -n | tr '\r\n' '\0\0' | xargs -0 -n 1 -P "$cpus" bash -c 'encode "$@"' -- echo ' -==> All files were processed. +==> All files were processed. ==> But you should rather check them before deleting the originals... ==> Thank you for using lame-recursive by Harvie ( http://blog.harvie.cz/ )'