rsync will delete files that exist in the target directory which do not exist in the source directory if the "--delete" option is specified. I also use the "-a", "-H", and "-x" options for my rsync'ing needs. Or we could reinvent the wheel... D * On Thu, Sep 21, 2000 at 10:34:04PM -0700, Jason wrote: > sinck@ugive.com wrote: > > \_ Also would be ince if I was trying to sync /foo to > > \_ /bar if it would delete all files if /bar that were not > > \_ in /foo. > > > > Hmmm. Can you completely purge /bar prior to the tar? :-) > > Use the output of diff again, greping for "Only" and bar.. > > -- > jkenner@mindspring.com __ > I Support Linux: _> _ _ |_ _ _ _| > Working Together To <__(_||_)| )| `(_|(_)(_| > To Build A Better Future. |