Quote:
Originally Posted by dnanian
See the User's Guide, Michael - it explains what arguments are provided to the script.
|
Thanks. OK the script below seems to work (well once):
Quote:
#! /bin/tcsh -f
#
set target="$4"
set dsfile="$target/DateStamp.txt"
echo "Latest clone was done on `date` " > "${dsfile}"
|
You end up with a text file called DateStamp on the top level of the volume you are cloning to. In that file is the time of the latest clone in the form:
Quote:
Latest clone was done on Thu Jun 4 23:31:39 CST 2009
|
Thanks again Dave.
Regards - Michael
PS: Anyone borrowing this script should note that the phrase `a little knowledge is a dangerous thing' was invented in honour of my programming ability :-)