Problem with many files in rsync server directory ?
jonh at januahortorum.com
Tue Jan 6 17:37:55 GMT 2004
Whoo-hoo. Question answered in less time than it took to write it.
$ rsync --recursive offers at sdnvpn::gsh/ .
did exactly what I want. The wildcard was there so the cron job
could add an extension (as in offers at sdnvpn::gsh/*$ext), but I
can work around it in this job and just copy all the files from
Thanks very much for the quick answer.
From: Wayne Davison [mailto:wayned at samba.org]
Sent: 06 January 2004 17:30
To: Jon Hirst
Cc: 'rsync at lists.samba.org'
Subject: Re: Problem with many files in rsync server directory ?
On Tue, Jan 06, 2004 at 05:05:16PM -0000, Jon Hirst wrote:
> $ rsync offers at sdnvpn::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 offers at sdnvpn::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).
More information about the rsync