Visit the LQ Articles and Editorials section
Go Back > Blogs
User Name



File conversion script

Posted 12-29-2012 at 10:04 AM by Snark1994
Updated 12-29-2012 at 10:10 AM by Snark1994

A handy script I put together to automatically convert between file formats based on file extension, in an easily extensible manner:

#!/usr/bin/env bash

#Conversion rules:
# commands["extension_from extension_to"]="convert_command"
# INFILE and OUTFILE in the conversion command are replaced
# with the appropriate filenames

declare -A commands
commands["wav mp3"]="ffmpeg -i INFILE OUTFILE"
Senior Member
Posted in Uncategorized
Views 569 Comments 0 Snark1994 is offline

Linux Gimux...Amazing Collection

Posted 04-11-2011 at 10:36 AM by myklmar (Linux Gimux)

So I'm pretty sure that THIS link now works, (this is soooooo embarassing!)
Again, sorry to everyone; try the following:

Hope you find it worth it!
LQ Newbie
Posted in Uncategorized
Views 2198 Comments 1 myklmar is offline

Amazing collection

Posted 04-04-2011 at 12:58 PM by myklmar (Linux Gimux)
Updated 04-09-2011 at 02:21 PM by myklmar

Linux Gimux Vol 1.

This is a 28 page PDF e-book of collected "tips, tricks, scripts and bits "

I have found these to be extremely helpful and so have collected them into one document, so that whenever I forget how to do something......there it is!
LQ Newbie
Posted in Uncategorized
Views 2342 Comments 2 myklmar is offline


All times are GMT -5. The time now is 07:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration