Am Samstag, 6. Februar 2010 20:24:20 schrieb David Haller:
Hallo,
Am Sam, 06 Feb 2010, Al Bogner schrieb: [..]
for INP in `find "$DIR" -type f -regex ".*\.mp3$"` ; do ... lame ... "$INP" "$NEWFILENAME" ...
Das zerbröselt's. for .. in `` oder $() ist _IMMER_ schlecht.
find "$DIR" -type f -iname '*.mp3' -exec /bin/bash -c 'for file; do lame ... "$file" "${file//.mp3}_128.mp3" done' find-bash '{}' '+'
Habe ich mir ja fast gedacht, dass du was verbesserst ;-) Mit meinen Dateien ohne Leerzeichen funktioniert es problemlos und ich rühre nichts mehr an, das keine Probleme macht, auch wenn es besser ginge. Al -- To unsubscribe, e-mail: opensuse-multimedia-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-multimedia-de+help@opensuse.org