6 unless ( $ENV{RSYNC_PASSWORD
} ) {
7 $ENV{RSYNC_PASSWORD
} = shift or die "RSYNC_PASSWORD not set and no argument???";
10 use File
::Rsync
::Mirror
::Recent
;
11 my $rrr = File
::Rsync
::Mirror
::Recent
->new
13 ignore_link_stat_errors
=> 1,
14 localroot
=> "/home/rrrcpan/target",
15 tempdir
=> "/home/rrrcpan/tmp",
16 remote
=> 'andk@cpan-rsync-master.perl.org::CPAN/RECENT.recent',
17 max_files_per_connection
=> 5000,
26 _runstatusfile
=> "/home/rrrcpan/recent-rmirror-state.yml",
27 _logfilefordone
=> "/home/rrrcpan/recent-rmirror-donelog.log",
29 $rrr->rmirror ( "skip-deletes" => 0, loop => 1 );