mit lame mp3s in einem verzeihniss reencoden
Guten Tag suse-linux, ich versuche gerade unter susi9.1 mit lame die .mp3 file die in einem ordner liegen alle zu reencoden. mit lame -h -b 64 filename.mp3 funktioniert das mit einem file. wenn ich aber lame -h -b 64 *.mp3 versuche, um alle files zu nutzen, laufe ich auf einen fehler: lame -h -b 64 *.mp3 lame: excess arg Acidsuckerz.mp3 LAME version 3.96.1 (http://lame.sourceforge.net/) usage: lame [options] <infile> [outfile] <infile> and/or <outfile> can be "-", which means stdin/stdout. hat jemand einen tip für mich, wie ich alle files nutzen kann, ohne 2000 titel einzeln ein zu geben ? gruß und danke carsten -- Mit freundlichen Grüssen Carsten Henkel mailto:carsten@chatlabel.de Sie lügen das Blaue vom Himmel herunter und wundern sich anschließend über das schlechte Wetter. (Werner Mitsch) dieser Text ist zufällig gewählt und hat nichts mit dem Empfänger der e-Mail zu tun. Carsten Henkel Passauer Straße 7 94577 Winzer tel.: 0049 (0)180-3684398-360 fax.: 0049 (0)180-3684398-039 http://chatlabel.de http://radio.chatlabel.de
Tach, Carsten Henkel schrieb:
Guten Tag suse-linux,
ich versuche gerade unter susi9.1 mit lame die .mp3 file die in einem ordner liegen alle zu reencoden. mit lame -h -b 64 filename.mp3 funktioniert das mit einem file. wenn ich aber lame -h -b 64 *.mp3 versuche, um alle files zu nutzen, laufe ich auf einen fehler:
lame -h -b 64 *.mp3 lame: excess arg Acidsuckerz.mp3 LAME version 3.96.1 (http://lame.sourceforge.net/) usage: lame [options] <infile> [outfile] <infile> and/or <outfile> can be "-", which means stdin/stdout.
hat jemand einen tip für mich, wie ich alle files nutzen kann, ohne 2000 titel einzeln ein zu geben ?
Versuch's doch mal damit: find -name "*.mp3" -exec lame -h -b 64 {} \; Falls das nicht funktioniert, hilft unter Umständen ein kleines Skript in der Art: #!/bin/bash for i in $(find -name "*.mp3") do lame -h -b 64 "$i" done Allerdings gibt's Probleme, falls Du Leerzeichen in Dateinamen hast. Und in meinem Test hatten die Dateien dann ein doppeltes ".mp3" am Ende ... HTH, Anke -- Think before you ...
Guten Tag Anke Boernig, Am Montag, 17. Januar 2005 um 11:31 schrieben Sie: danke für deinen tipp. hilft mir enorm weiter :-) AB> Allerdings gibt's Probleme, falls Du Leerzeichen in Dateinamen hast. Und AB> in meinem Test hatten die Dateien dann ein doppeltes ".mp3" am Ende ... das leerzeichen problem habe ich zum gläck nciht. das mit mp3.mp3 ist mir schon aufgefallen, aber ich move sie zum schluß sowiso in .64.mp3 AB> HTH, AB> Anke -- Mit freundlichen Grüssen Carsten Henkel mailto:carsten@chatlabel.de Die Pferde der Hoffnung galoppieren, doch die Esel der Erfahrung gehen im Schritt. dieser Text ist zufällig gewählt und hat nichts mit dem Empfänger der e-Mail zu tun. Carsten Henkel Passauer Straße 7 94577 Winzer tel.: 0049 (0)180-3684398-360 fax.: 0049 (0)180-3684398-039 http://chatlabel.de http://radio.chatlabel.de
participants (2)
-
Anke Boernig
-
Carsten Henkel