It is just simple bash script that can run in linux to compress a mp3 file to larger or smaller bitrate.
In windows I ussually use DBPowerAmp to compress a mp3 file format but I can't find similar program ini Linux (ubuntu) so I search in internet and found this script. It just need Lame installed on your system, do not need installation, just run this script in the folder where you saved your mp3 files.
It is as simple as :
mkdir ./compressed
for file in *.mp3; do lame --mp3input -b 32 "$file" "./compressed/$file"; done
Just copy this code and use your favourite text editor to paste in it and save in .sh extension.
To run this script you just need to copy this cript into folder where you save your mp3 and run from command line. it is very easy and fast.
GBU
Saturday, May 23, 2009
Subscribe to:
Post Comments (Atom)
2 komentar:
i am newbie in linux ubuntu 9.10, i've tried your instruction, but it didn't work, and there was notice as below:
bash: syntax error near unexpected token `do'
Hi Ruhyat..i'm sorry for late response..
I think the problem is you do not have lame installed n your Ubuntu
Just install lame witn command from terminal..
Thx
Post a Comment