initial checkin
[rersyncrecent.git] / bin / rrr
blobd45243900c6bb7c620e03a2d8e3215fa3d17ab85
1 #!/usr/bin/perl
3 =head1 NAME
5 rrr - rsync (rapidly,repeatedly) recent rubbish
7 =head1 SYNOPSIS
9 rrr does not exist yet, try
10 man File::Rsync::Mirror::Recent
12 =head1 OPTIONS
14 =over 8
16 =cut
18 my $optpod = <<'=back';
20 =item B<--help|h>
22 Prints a brief message and exists.
24 =item B<--verbose|v+>
26 More feedback.
28 =back
30 =head1 DESCRIPTION
32 This program does not exist yet. I am still musing about the
33 interface, for now, please see the file HOWTO.mirrorcpan in the
34 File::Rsync::Mirror::Recent distribution and follow the instructions
35 there.
37 The usual blurb: rersyncrecent is a project to get speedy rsync
38 operation on large trees over multiple hosts. It maintains a
39 collection of files with metadata (so called recentfiles) that
40 represent adjacent or overlapping timespans of file change events.
42 =cut
44 use strict;
45 use warnings;
47 use File::Rsync::Mirror::Recent;
48 use Getopt::Long;
49 use Pod::Usage qw(pod2usage);
51 our %Opt;
52 my @opt = $optpod =~ /B<--(\S+)>/g;
54 GetOptions(\%Opt,
55 @opt,
56 ) or pod2usage(2);
58 if ($Opt{help}) {
59 pod2usage(0);
62 pod2usage(0);
64 __END__
67 # Local Variables:
68 # mode: cperl
69 # coding: utf-8
70 # cperl-indent-level: 4
71 # End: