This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
helper_scripts [2013/06/28 12:10]
helper_scripts [2018/03/27 23:54]
Line 1: Line 1:
 ====== Helper Scripts ====== ====== Helper Scripts ======
 +This is an archive of old stuff. Most things now I wrote into [[dvd_info]].
 This is just a collection of little scripts. This is just a collection of little scripts.
Line 5: Line 7:
 === avi2mpg === === avi2mpg ===
-<​code>​ +<​code ​bash
 F=`basename $1 .avi` F=`basename $1 .avi`
 MPG=${F}.mpg MPG=${F}.mpg
Line 22: Line 24:
 </​code>​ </​code>​
 +=== confcat ===
 +Strip all empty strings and commented strings
 +grep -vh '​^#'​ "​[email protected]"​ | grep -v '​^$'​
 === dumpchapters === === dumpchapters ===
Line 56: Line 66:
 === dvd_id === === dvd_id ===
 +Once you pop in a DVD, it takes a few seconds to initialize and be able to read, even though the device shows as available.
 +This helper script just waits patiently until it can correctly read the DVD.
 +It calls the binary [[disc_id]] which you'll need installed first.
 <code bash> <code bash>