|
Re: Rsync
Mtek <mtek@mtekusa.com> writes:
>Thanks Unrhu. I have 2 quick questions:
>>Note that that last / on the first path is necessary. No slash means copy
>>the directory name as well as its contents, while a terminal / means
>>transfer just the contents.
>What is the difference? Why not copy the name as well?
say the directory dir has a file /dir/file in it.
rsync -av /dir remote:/far
will have in /far the subdirectory called dir which contains the file
"file"
Ie /far/dir/far
rsync -av /dir/ remote:/far
has the contents of /dir in /far
Ie
/far/file
>>If you want it slightly faster, put an rsync daemon on the remote machine
>What will speed up? How is that config faster?
No ssh encryption.
So if it is sensitive data, use the first. If it is not, use the second.
slightly faster. Also control is by the host allow in /etc/rsync.conf,
rather than via ssh password or ssh key.
|