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:// .

instead of:

rsync -av rsync:// .

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

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

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@ .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy