Posts Tagged ‘unix’
Using vobcopy and mkisofs to backup dvds to harddriveb
How to use vobcopy and mkisofs in Ubuntu to backup your dvds* to your hard disk
There are many different methods for backing up media your hard disk.
In Ubuntu, the easiest way to do this is right click on the dvd and copy it directly. This works about half the time.
Or you can try the unix dd command method.
> dd if=/dev/dvd of=nameofdvd.iso
This too only works some of the time.
Read the rest of this entry »
Determine Yesterday’s Date in a unix environment using ksh and date()
Unix and KSH to find yesterday’s date
Mastering Unix Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus, 2nd Edition
Wicked Cool Shell Scripts: 101 Scripts for Linux, Mac Osx, and Unix Systems
I did a bunch of searching and found a lot of places online to do timestamp conversions, and perl programs to get yesterday’s date. Some worked and some didn’t. But none the less, I didn’t need a whole program to do this, and I especially didn’t need an online converter for use in my app. I needed something simple and small that didn’t use a lot of calulations.
Here is what i came up with for use in the shell (KSH)
Read the rest of this entry »