Re: Rsync Insists on Replacing Files
Hal Vaughan wrote:
>
> rsync -av server::Data /MacRAID/Data/ (Forgot if that one required the
> "/" at the end or not. Whichever I used, it did copy directly to that
> directory without creating an extra subdirectory.)
$> rsync <option> /source/path /dest
will transfer the directory "path" into /dest directory on the remote
machine. You will contet /dest/path at the remote machine.
$> rsync <option> /source/path/ /dest
will transfer only the contents of the "path" directory to the remote
machine. You will get /dest/<contents of "path" of source machine>
The trailing slash matters only on the source specification.
Thus, with the trailing slash, the contents of the path directory are
transfered, and without it the directory itself is.
> and it copied all the files from the RAID on the server to the RAID on
> my iMac. Of course they were different user names. In the past I used
> NIS on my LAN to keep user names the same. Now that I'm done with the
> setup, the data on the iMac RAID will change more often and the server
> is essentially a back-up.
>
> Today it was finally time to set up rsync to do regular backups from my
> workstation to the server, so I tried:
>
> rsync -avn /MacRAID/Data/ me@server:Data (Thanks to H.S. for that help
> in another recent thread.)
Try the options -auvn
Search the man page for "-u" to see what it means.
Regards.
--
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
Reply to: