Having had a night to sleep on this I think rsync's limit on filename globbing needs pointing out more clearly.
I think we need: 1) An entry in the FAQ (Done) 2) A better error message from rsync when it exceeds the limit. Saying: rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(201) doesn't help many users. Not even programmers with 20 years experience, like me ;-) 3) How about adding a file called LIMITS to the source distribution that tells system administrators and users of the limits that are built in to rsync, and how they can be changed. 4) Or maybe even - horror or horrors - some comments in the source file rsync.h. Jon -----Original Message----- From: Wayne Davison [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 17:30 To: Jon Hirst Cc: '[EMAIL PROTECTED]' Subject: Re: Problem with many files in rsync server directory ? On Tue, Jan 06, 2004 at 05:05:16PM -0000, Jon Hirst wrote: > $ rsync [EMAIL PROTECTED]::gsh/* . There's a limit to how many files you can glob with a wildcard. Just remove the wildcard and let rsync transfer the whole directory: rsync [EMAIL PROTECTED]::gsh/ . While you're at it, you should probably add (at least) the -t option, which will preserve timestamps and make future updated copies faster (or just use -a). ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html