|
NAMERex::Commands::Rsync - Simple Rsync FrontendDESCRIPTIONWith this module you can sync 2 directories via the rsync command.Version <= 1.0: All these functions will not be reported. All these functions are not idempotent. DEPENDENCIES
SYNOPSISuse Rex::Commands::Rsync; sync "dir1", "dir2"; EXPORTED FUNCTIONSsync($source, $dest, $opts)This function executes rsync to sync $source and $dest. The "rsync" command is invoked with the "--recursive --links --verbose --stats" options set.If you want to use sudo, you need to disable requiretty option for this user. You can do this with the following snippet in your sudoers configuration. Defaults:username !requiretty
Visit the GSP FreeBSD Man Page Interface. |