Next: , Up: Publishers   [Contents][Index]


5.5.1 Rsync

(use-modules (haunt publisher rsync))
Procedure: rsync-publisher [#:name 'production] [#:destination] @

[#:user] [#:host] [#:name] [#:rsync] @ [#:flags ’("–compress" "–delete" "–progress" "–recursive" "–verbose")]

Return a new publisher named name that publishes a site to destination, either locally or to a remote host if host and/or user arguments are specified. Passing rsync overrides the rsync executable used. Passing flags overrides the set of command line flags used.