NAME

DRSync - Functions for drsync

SYNOPSIS

    use DRSync;
    # simple way
    drsync(@ARGV);
    # or a complex one
    foreach my $arglist (@arglists) {
        eval { drsync(@$arglist); }
        warn "Error: $@, arglist: ".join(" ",@$arglist)."\n" 
            if $@;
    }

DESCRIPTION

This module does file synchronization, as described in the drsync page.

You can use the drsync function to do the work. Arguments for drsync are the command line parameters for the drsync. You better call the drsync function in an eval block, because it can throw exceptions.

SEE ALSO

drsync