Encode wav to mp3 with lame including fail save for filenames containing spaces
find *.wav -exec sh -c 'cat "$0" | lame -V2 - > `basename "$0" .wav`.mp3; rm "$0"' {} \;
note: the original wav version will be deleted.
Written by eFrane
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#