Results 1 to 2 of 2

Thread: Need help encoding a directory of mp3s with lame

  1. #1
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230

    Need help encoding a directory of mp3s with lame

    Hello,

    I'm trying to encode all mp3s in a dir. Per file I would have used:
    lame -b 64 --mp3input <yourfavoritesonghere>.mp3 out/<yourfavoritesonghere>.mp3

    But how can I make it happen to all mp3s in the dir?

    Hoping for Help,

    Aljosha
    Eat your l33t skillz!
    My home page: http://www.inter.nl.net/users/alexeif/

  2. #2
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230
    Found it

    for i in *.mp3; do lame --mp3input -b 64 $i out/$i; done
    Eat your l33t skillz!
    My home page: http://www.inter.nl.net/users/alexeif/

Similar Threads

  1. lame install help
    By aragon127 in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 12-08-2003, 04:58 PM
  2. MP3s on BSD FTP?
    By Black666 in forum BSD
    Replies: 5
    Last Post: 07-30-2002, 11:25 PM
  3. Sound recording and mp3 encoding
    By andrzej in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-15-2002, 08:49 PM
  4. linuxmail.org lame-ing out whats next best?
    By capybara in forum General Chat
    Replies: 10
    Last Post: 07-02-2002, 03:45 AM
  5. LAME
    By babbing in forum Redhat / Fedora
    Replies: 11
    Last Post: 06-09-2002, 04:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •