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
Categories: blogging, linux, programming
Related Posts:
Best Security Software Tools for Linuxsource : http://www.junauza.com/2008/07/10-best-hacking-and-security-software.htmlLinux is a hacker’s dream computer operating system. It supports tons of tools and utilities for cracking passwords, scanning network vuln… Read More
10 Essential UNIX/Linux Command Cheat SheetsLinux has become so idiot proof nowadays that there is less and less need to use the command line. However, the commands and shell scripts have remained powerful for advanced users to utilize to help them do complicated tasks… Read More
5 Most Popular Linux Hackable GadgetLinux is a powerful and versatile operating system that can be utilized to hack just about any electronic hardware device. To prove it, I have here a list of popular gadgets that are already known to run Linux.1. Nintendo DSD… Read More
Otak-atik Ubuntu 11.04(pertama kali diposting 4 Juli 2011) Berawal dari setting VGA SiS itu, saya jadi terarik otak-atik si Ubuntu, sesuai dengan niatan juga untuk pindah framework pemrograman Eclipse saya ke Ubuntu, biar lebih terasa lagi opensou… Read More
The 7 Deadly Linux CommandsIf you are new to Linux, chances are you will meet a stupid person perhaps in a forum or chat room that can trick you into using commands that will harm your files or even your entire operating system. To avoid this dangerous… Read More
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