Linux System Administration

Do you need a GUI to be able to create and burn your favorite music tracks on a standard audio CD which then can be used by any CD player? The answer is no ! GUI is for losers ! Right? :-) Let's see how hard it is to burn an audio CD with a cdrecord linux command. What is needed:

  • CD burner - audio files in mp3, ogg, acc or wav format
  • cdrecord
  • ffmpeg
  • normalize-audio

Install all prerequisites:

# apt-get install cdrecord ffmpeg normalize-audio libavcodec52

In our scenario we have a selection of MP3 and OGG files from different albums stored in a single directory called burn:

ls ~/burn/
03.Come As You Are.mp3  
07 - Crystal Mountain.mp3 
09-We Who Are Not as Others.mp3
Lemuria_-_05_-_Lemuria.ogg

Since all files are taken from a different locations / albums the chance that they all have a different volume settings is very high. To make them volume uniform we use a normalize-audio command. Normalize normally works only on wav files so first we need to convert all files to wav.

NOTE: if names of your files contain a space use this command to replace space with _:

$ for f in *; do mv "$f" `echo $f | tr ' ' '_'`; done

Convert all files to wav format:

$ for i in $( ls ); do ffmpeg -i $i $i.wav; done
Read more...

How many GUI CD/DVD burning applications do you know? Now, how many of them you can name that can burn an ISO image directly from ftp server or burn your remote directory over ssh? If you want to use a GUI burning software in such manner you would first need to mount your remote ftp or ssh directory as a part of a local system. However, this is possible without any extra effort by use of command line interface.

This article will illustrate some command line tricks on how to work with ISO images and how burning a data from a command line can safe you time. It really highlights a power of Linux command line interface.

Read more...

Page 10 of 73

Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top