Whoo-hoo.  Question answered in less time than it took to write it.

$ rsync --recursive [EMAIL PROTECTED]::gsh/ .

did exactly what I want.  The wildcard was there so the cron job
could add an extension (as in [EMAIL PROTECTED]::gsh/*$ext), but I
can work around it in this job and just copy all the files from
the directory.

Thanks very much for the quick answer.

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

Reply via email to