Subj : Can I mirror a directory on the same computer ? To : alt.comp.linux,alt.comp.os.linux,comp.os.linux From : markhobley Date : Sun Oct 31 2004 04:06 am I want to create a script, which will run from a cron job to mirror the contents of one directory to another. Both directories are on the same computer, so I don't want to use rsync, or fmirror. I know that I can use cp -r. I would like to copy only files that differ from those in the destination directory, and I would like files that have been removed from the source directory to be removed from the destination directory. Is there a simple way of mirroring directories in this manner ? Thanks in advance. Regards, Mark. -- Mark Hobley 393 Quinton Road West QUINTON Birmingham B32 1QE Reply to: markhobley at hotpop dot do_not_type_this_bit com http://markhobley.yi.org/ .