Re: Eine ganze Festplatte mit mp3-Dateien...

Al Bogner <suse-multimedia-Wco+c2LKsy1DayIqkcHqbfyE8WyFmGdT@public.gmane.org>
Newsgroups gmane.linux.suse.multimedia.german
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.