Script Index


/var/lib/sorcery/modules/dl_handlers/dl_rsync

=head1 SYNOPSIS Url handler functions for downloading rsync urls. =head1 DESCRIPTION This file contains functions for I files through rsync. In order for rsync urls to be downloaded, the I spell must have been cast. This script first determines if rsync has been installed before attempting to download a rsync url. =head1 RSYNC URL Format rsync://SERVER::MODULE_NAME The above url will download the latest version of the specified module. =head1 EXAMPLES Suppose we want to download the latest version of the sorcery stable grimoire via rsync. We'd use the following url: rsync://codex.sourcemage.org::stable =head1 IMPLEMENTATION NOTE Downloading is supported but rsync url verification is not currently supported. =head1 COPYRIGHT Copyright 2003 by the Source Mage Team =head1 FUNCTIONS =over 4


function dl_rsync_get()

Parameters:

Description

=item dl_rsync_download Fetch the specified rsync url. This handler supports both files and trees.


function dl_rsync_run_rsync()

Parameters:

Description

=item dl_rsync_run_rsync Private function. Calls rsync and beautifies output