Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
11/4/2012 8:09:59 PM EDT
I've been using MakeMKV to rip my Bluray movies and then Handbrake to convert them over to .m4v files. I'm assuming (I have no shell script experience) that a bash script could be written using my specific makemkvcon options (which are always the same) including nohup and clearing the nohup.out file prior to start. Where could I find the best source of information on where to learn how to write the script in such a way?

Since my server is the only machine with an optical drive, I normally ssh into it and do everything through command line (there isn't a GUI on the server to begin with).
11/7/2012 7:43:12 AM EDT
[#1]
That would be a pretty simple script as far as scripts go.  Of course, there's a lot of tertiary knowledge you'd need but it sounds like you're fairly comfortable on CLI and have most of it.  I'd just work through a tutorial like this: http://linuxconfig.org/Bash_scripting_Tutorial

Or if you're somewhat familiar to programming but not bash scripting in particular, you might prefer this one: http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html That's laid out better for someone who knows what they want to do, but just isn't exactly sure how to do it.