Main menu

Skip to content

CYBR's Blog

Digital deep sea diving

RSS

Tag Archives: wav

Convert a bunch of wav files into mp3 format

Posted by cbrunsch on August 12, 2010

Use the following statement to convert a bunch of waveform audio format (wav) files within a folder into mp3 format. The script is based on the well known lame mp3 encoder.

bash# for line in $(ls  .wav | perl -pe 's/(.).wav/$1/'); \
do lame -b 192 -h $line.wav $line.mp3 ; done;

Leave a comment Posted in Multimedia Tagged bash, convert, lame, mp3, wav

Recent Posts

  • OpenShift – git push your webpage to the cloud
  • Create a new VM from a non-Proxmox appliance template
  • Reversing in God Mode
  • BeanShell puts Java Application Servers at Risk
  • AES Maths (Rijndael multiplication)

Categories

  • Advisories (13)
  • Cloud (1)
  • Cryptography (1)
  • Embedded (1)
  • Maintenance (19)
  • Multimedia (5)
  • Programming (8)
  • Reversing (1)

alternatives amavis apache arch arm awk backup bash cag centos chkconfig cisco citrix clone compiler composite convert cortex database date dnat error forensic gcc gnu google grub http imagemagick iptables java jboss jvm kernel lame linker linux logging LPC1768 mod_rewrite mp3 mysql nortel ntp opencms openkm openvz oracle pebble perl postfix redirect resume rpmforge sap sed seo service spam spider sql suspend tcp template timestamp timezone toolchain ubuntu update uuencode vzdump wav windows xsrf xss

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • CYBR's Blog
    • Already have a WordPress.com account? Log in now.
    • CYBR's Blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar