GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sleepcount improved
[mirrors/Programs.git]
/
bash
/
lame-recoder
/
lamer.bash
diff --git
a/bash/lame-recoder/lamer.bash
b/bash/lame-recoder/lamer.bash
index d22b7434da6be743e20e790609b62ad0fd6f3a81..ff0602e74380dfd45ef46dcaf3ee912abfd48b2b 100755
(executable)
--- a/
bash/lame-recoder/lamer.bash
+++ b/
bash/lame-recoder/lamer.bash
@@
-27,11
+27,11
@@
echo -e "lame-recursive v$version (Harvie 2o1o)
- Supports multiple CPUs/cores
Usage: $0 [preset] [cpu-cores]
- Supports multiple CPUs/cores
Usage: $0 [preset] [cpu-cores]
- Example: cd ~/music; $0 standar
t
+ Example: cd ~/music; $0 standar
d
Example: cd ~/spoken; $0 voice
presets:
Example: cd ~/spoken; $0 voice
presets:
- VBR: voice, medium, standar
t
, extreme, insane (= 320kbps CBR)
+ VBR: voice, medium, standar
d
, extreme, insane (= 320kbps CBR)
ABR: 8, 16, 32, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320
For more info: lame --preset help
ABR: 8, 16, 32, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320
For more info: lame --preset help
@@
-82,11
+82,11
@@
encode() {
tsign " Done: '$infile'; retval=$?";
}
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
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 '
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/ )'
==> But you should rather check them before deleting the originals...
==> Thank you for using lame-recursive by Harvie ( http://blog.harvie.cz/ )'
This page took
0.258137 seconds
and
4
git commands to generate.