You are not logged in.
I have a pile of wav files in a single directory that I need to encode with lame. I'm at a loss how to do it in a single operation. The below fails:
$ lame -V 2 *.wav
lame: excess arg 03_track no title.wavCan someone recommend a GUI frontend for lame that'll run under GTK?
Last edited by graysky (2009-11-25 20:49:00)
Offline
Do it in a "for" loop, e.g.
for WAV in *.wav; do
lame -V 2 "$WAV"
doneLast edited by Xyne (2009-11-25 21:43:45)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Same but with .wav replaced by .mp3 in each filename:
$ for file in *.wav; do lame -V 2 "$file" "${file%.*}".mp3; doneLast edited by azleifel (2009-11-25 21:05:25)
Offline
Thanks guys. How would I go about adding azleifel's one-liner to a right-click option in Gnome? That would be pretty slick.
Offline
Try this package: http://www.archlinux.org/packages/?q=nautilus-actions
I don't know how you use it though
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline