synchronizing 4617 files (out of 1538823)
Wayne Davison
wayned at samba.org
Sat Aug 9 05:03:17 EST 2003
On Fri, Aug 08, 2003 at 11:30:22AM -0700, Jon Drukman wrote:
> i have a list of files relative to a docroot that need to be synchronized.
> [...] is there a fast way to do this?
The version is CVS has the new --files-from option. You'd do something
like this:
rsync -Re ssh --files-from=/tmp/paths.txt docroot/ ww1:/var/httpd/htdocs
or this:
rsync -Re ssh --files-from=/tmp/paths.txt docroot/ ww1:/var/httpd/htdocs/docroot
Depending on whether you wanted the docroot dir in the destination path.
I'd also suggest adding the -t option so that rsync knows what files
have been synchronized (because it sets the modified-time to match).
..wayne..
More information about the rsync
mailing list