Why are files synced again and again when not using -a?

2009-03-30 Thread André Hänsel
Hi,

usually I use rsync with -a but recently I used it without this option and
discovered that the same files are synced over and over again (as shown by
-v). Of course the rsync algorithm avoids the traffic but the files are all
listed.

As soon as I use -a for one time those files are not transferred again, even
when I remove the -a again.

So I suspect, when building the file list, rsync doesn't take into account
that it won't be able to transfer some attributes anyway (because of missing
-a) and tries again to transfer them.

Is this the desired behaviour?

This is valid for rsync  version 2.6.9  protocol version 29.

Regards,
André

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Why are files synced again and again when not using -a?

2009-03-30 Thread Hendrik Visage
perhaps using Windows or FAT32 type filesystems?

On 3/30/09, André Hänsel an...@webkr.de wrote:

 Hi,

 usually I use rsync with -a but recently I used it without this option and
 discovered that the same files are synced over and over again (as shown by
 -v). Of course the rsync algorithm avoids the traffic but the files are all
 listed.

 As soon as I use -a for one time those files are not transferred again,
 even
 when I remove the -a again.

 So I suspect, when building the file list, rsync doesn't take into account
 that it won't be able to transfer some attributes anyway (because of
 missing
 -a) and tries again to transfer them.

 Is this the desired behaviour?

 This is valid for rsync  version 2.6.9  protocol version 29.

 Regards,
 André


 --
 Please use reply-all for most replies to avoid omitting the mailing list.
 To unsubscribe or change options:
 https://lists.samba.org/mailman/listinfo/rsync
 Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Why are files synced again and again when not using -a?

2009-03-30 Thread Wayne Davison
On Mon, Mar 30, 2009 at 02:13:49PM +0200, Andr? H?nsel wrote:
 usually I use rsync with -a but recently I used it without this option
 and discovered that the same files are synced over and over again (as
 shown by -v).

You should at least specify -t when not using -a.  See the -a option in
the manpage to see what options it implies.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html