MLUG Bash Scripting Workshop 25/04/08 | ||
---|---|---|
Prev | Index | Next |
Yup, all things come to an end sometime.
I hope you have gotten something out of this presentation. I know I have enlarged a couple brain cells putting it together for you.
I had originally planned on looking at a couple functions in my dvd encoding/shrinking/burning script, create-dvd and my dvb-t timeshifting script save-dvb in order to elaborate on some of the things I introduced tonight but I think that's enough for now.
If we have some extra time at the meeting maybe we can look at them. If not, and/or you have downloaded this and are reading it somewhere else, you can find the scripts in here.
I have modified both stream-dvd and save-dvb so that they will use their config files in ./scripts/other_scripts. Stream-dvb will not do much without dvbstream and a working dvb-t device. However, if you run save-dvb it will create a temporary script to be run as an at job. It won't do anything else without a dvb-t device and dvbstream.
The create-dvd script will also work with a few caveats, you need to have mplayer, transcode, dvdauthor etc. installed, and to burn you need to change the variable to whatever device you use for burning dvd's. However, if you don't have everything that's needed, you can still run it to see what it does. Just give it some dummy filenames. the script won't notice until it's time to shrink or encode.
Thanks for coming tonight!
or........... Thanks for taking the time to read this!
Note: In closing I just want to say that I make no claim that I am in any way an expert on Bash scripting.
I built a cattle feed cubing mill in Darwin for a guy who had a Phd. in Agricultural Economics (or something like that). There was always someone asking his advice about something. One day I joked with him about everyone thinking he was the expert. His reply was, "you're only the expert when people think you know more than they do."
Likewise, I make no claim that my scripts are anything more than something I wrote to scratch an itch. In the beginning of this show I told you I was lazy. I never intended to write up anything more than the examples herein to illustrate my points. My off the shelf scripts would suffice for anything else.