Showing posts with label one liner. Show all posts
Showing posts with label one liner. Show all posts

Friday, February 5, 2016

Everything I learned in the past 24 hours about linux 1454703438

Convert all m4a files into mp3's in a directory:

IFS=$(echo -en "\n\b");for i in *.m4a; do name=`echo $i | cut -d'.' -f1`; echo $name; ffmpeg -i $i $name.mp3;   done


@nayafia at medium.com has been blogging about open source infrastructure projects and the posts so far have been interesting.

I added these to my .bashrc:
alias volumedown='amixer -D pulse sset Master 5%-'
alias volumeup='amixer -D pulse sset Master 5%+'

For reducing and increasing the volume.