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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

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

Your Answer

 
discard

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