I have two hard drives in my computer. One is the working drive and the other is a backup copy of the working drive. The backup drive is updated once a day where files have changed.
I want to be able to run a script, at intervals, which will check all the files on the backup drive and delete those which are no longer present on the working drive.
The root directory on the working drive will, of course, be / and the root of the backup drive will be something like /mnt/point.
I'm having considerable difficulty in working out how to do this.
Some help would be very welcome from the scripting experts.
Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain