App-Slaughter
view release on metacpan or search on metacpan
The following rsync configuration file would be a sensible starting point.
NOTE: An ACL to prevent fetches from unknown machines is recommended:
[slaughter]
path = /srv/slaughter/
comment = slaughter policy files
read only = true
hosts allow = 1.2.3.0/24 *.example.com
The client will be invoked as follows:
slaughter --transport=rsync --prefix=rsync://example.com/slaughter/
You can test the transfer by running a command such as this:
rsync -qazr rsync://example.com/slaughter /tmp/foo
Additional arguments may be passed to rsync via the "--transport-args" flag.
( run in 0.325 second using v1.01-cache-2.11-cpan-7add2cbd662 )