Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is it possible to name the full path to source directory in rsync command instead of the name of the module.

For example:

rsync -av rsync://10.171.73.23/home/user/work/tests .

instead of :

rsync -av rsync://10.171.73.23/ftp/work/tests .

(ftp is a module from /etc/rstncd.conf)

When trying the first version I get '@ERROR: Unknown module 'home''

share|improve this question
add comment

migrated from stackoverflow.com Jan 18 '11 at 17:00

This question came from our site for professional and enthusiast programmers.

1 Answer

No, you can't do that using the rsync protocol ; it relies on modules to define access rights. You could do it through SSH though :

rsync -av user@10.171.73.23:/home/user/work/tests .
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.