View Single Post
  #7  
Old 06-07-2009, 09:28 AM
mmurray mmurray is offline
Registered User
 
Join Date: Jun 2006
Posts: 25
In case anyone wants it the latest version of my script is

Quote:
#! /bin/tcsh -f
#
set target="$4"
set dsfile="$target/DateStamp.txt"
echo "Latest clone was done on `date`" > "${dsfile}"
echo "Latest clone was done on $target on `date`" >> "/Users/abcde/Documents/CloneLog.txt"
where you need to replace abcde with your username. This version as well as leaving a file called DateStamp.txt on the target disk with the date of the cloning also keeps a file in your user directory in Documents called CloneLog.txt with a list of all the volumes your computer has been cloned to and when. E.g.

Quote:
Latest clone was done on /Volumes/Backup1 on Fri Jun 5 10:58:13 CST 2009
Latest clone was done on /Volumes/Backup2 on Fri Jun 5 11:41:03 CST 2009
Latest clone was done on /Volumes/Backup1 on Sat Jun 6 15:58:13 CST 2009
Michael
Reply With Quote