LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

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:

Code:
#!/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 1496 Comments 0 Snark1994 is offline
Old

Linux Gimux...Amazing Collection

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

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

https://secure1.storegate.com/Shares...0-000000000000

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

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!

https://secure1.storegate.com/Shares...0-000000000000
...
LQ Newbie
Posted in Uncategorized
Views 4242 Comments 2 myklmar is offline

  



All times are GMT -5. The time now is 01:25 PM.

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