--
You received this message because you are subscribed to the Google Groups "Opensource Projects" group.
To post to this group, send an email to opensourc...@googlegroups.com.
To unsubscribe from this group, send email to opensource-proj...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensource-projects?hl=en-GB.
Usually, I use the options
rsync -auv rsync://source/* destination/
The trailing slash is IMPORTANT.
The 'auv' works for me all the time.
Perhaps, you might try it again sometime.
Richard
--
Richard Hamel-Smith
cel: (868) 763-2049
email: richardh...@gmail.com
Searching through the man page, I find
This would transfer all files matching the pattern *.c from the
current directory to the directory src on the machine foo. If any of
the files already exist
on the remote system then the rsync remote-update protocol is
used to update the file by sending only the differences. See the tech
report for details.
rsync -avz foo:src/bar /data/tmp
This would recursively transfer all files from the directory
src/bar on the machine foo into the /data/tmp/bar directory on the
local machine. The files are
transferred in "archive" mode, which ensures that symbolic
links, devices, attributes, permissions, ownerships, etc. are
preserved in the transfer. Addition-
ally, compression will be used to reduce the size of data
portions of the transfer.
rsync -avz foo:src/bar/ /data/tmp
A trailing slash on the source changes this behavior to avoid
creating an additional directory level at the destination. You can
think of a trailing / on a
source as meaning "copy the contents of this directory" as
opposed to "copy the directory by name", but in both cases the
attributes of the containing direc-
tory are transferred to the containing directory on the
destination. In other words, each of the following commands copies
the files in the same way, includ-
ing their setting of the attributes of /dest/foo:
rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo
It seems that rsync does copy links.
Just for the knowledge to be gained, would you try the -auv option and
let us know the result? It may help someone else in the future.
Richard