[root@84-45-228-40.no-dns-yet.enta.net: Cron <chris@home>
rsync -r --exclude /In/ --exclude /Lirsync error message that I
don't understand
Chris G
cl at isbd.net
Wed Mar 26 12:34:24 GMT 2008
On Wed, Mar 26, 2008 at 08:23:42AM -0400, Matt McCutchen wrote:
> On Tue, 2008-03-25 at 15:29 +0100, Paul Slootman wrote:
> > On Tue 25 Mar 2008, Chris G wrote:
> > > On Tue, Mar 25, 2008 at 02:32:34PM +0100, Paul Slootman wrote:
> > > > On Tue 25 Mar 2008, Chris G wrote:
> > > > > >
> > > > > > BTW, is there a reason why you're doing -r and not -a ?
> > > > > >
> > > > > I don't want some of the options that -a gives me, in particular not
> > > > > the -D and -l.
> > > >
> > > > That's what the -no-* things are for. You could use -a -no-D -no-l
> > > >
> > > Maybe, but it's simpler just to put -r, does all I want! :-)
> >
> > Well, it'll transfer your files, but it will read and checksum every
> > file each time you run the rsync command, instead of being able to skip
> > files that are unchanged. It can't see which files are unchanged as
> > you're not setting mtime, perms, user/group ownerships. Hence it's much
> > more efficient in the long run to use at least the -tpgo options.
>
> Only mtime is used in the decision of whether a file needs to be
> transferred, so -t is enough. I personally find it clearer to list the
> things I do want preserved rather than pass -a and subtract the things I
> don't want preserved.
>
So just -rt will minimise the time taken by not checksumming the files
every time? That'll do me nicely if so.
--
Chris Green
More information about the rsync
mailing list