Como se suele decir, un script vale mas que mil palabras...

for files in *.mp3; do
file="$(basename "$files" .mp3)"
lame --mp3input --decode "$file.mp3" "$file.wav"
oggenc -o "$file.ogg" "$file.wav"
done

Ya sabeis que no teneis que utilizarlo con .mp3 que tengan copyright O;-)

Caregorias

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.