directory Syncing

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: plug@arcticmail.com
Date:  
Subject: directory Syncing
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:
> 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..
>
> -- 
>     __
> I Support Linux:           _> _  _ |_  _  _     _|
> Working Together To       <__(_||_)| )| `(_|(_)(_|
> To Build A Better Future.       |                   <s>