specifying destination folders

Wayne Davison wayned at samba.org
Tue Oct 12 20:35:11 GMT 2004

On Tue, Oct 12, 2004 at 04:13:56PM -0400, Daniel Teklu wrote:
>  path = /export/home/foo/test
> How do I put it to /export/home/foo/test/blha

Either use this command:

rsync -avz /export/home/foo/test/blha/file_name server::test/blha

or these commands:

cd /export/home/foo/test
rsync -avzR blha/file_name server::test

Note the use of -R (--relative) in the last example.


More information about the rsync mailing list