WIP at update with dirty epoch
[rersyncrecent.git] / bin / rrr-dirtyupdate
blobaaa4b48e26cdefbd2c62d9845fdd69f426c67201
1 #!/usr/bin/perl -- -*- mode: cperl -*-
3 =head1 NAME
5 rrr-dirtyupdate - add files with an old timestamp to the dataset
7 =head1 SYNOPSIS
9 rrr-dirtyupdate [options] file ...
11 =head1 OPTIONS
13 =over 8
15 =cut
17 my @opt = <<'=back' =~ /B<--(\S+)>/g;
19 =item B<--dry-run!>
21 (TBD) Do not really run the command, ...
23 =item B<--help|h>
25 Prints a brief message and exists.
27 =item B<--verbose|v+>
29 More feedback.
31 =back
33 =head1 DESCRIPTION
35 (TBD)
37 =cut
40 use strict;
41 use warnings;
43 use File::Rsync::Mirror::Recent;
44 use Getopt::Long;
45 use Pod::Usage qw(pod2usage);
47 our %Opt;
48 GetOptions(\%Opt,
49 @opt,
50 ) or pod2usage(1);
52 if ($Opt{help}) {
53 pod2usage(0);
56 unless (@ARGV) {
57 pod2usage(1);
60 if ($Opt{'dry-run'}) {
61 die "FIXME: not yet implemented";
64 die "Nothing implemented yet";
66 __END__
69 # Local Variables:
70 # mode: cperl
71 # coding: utf-8
72 # cperl-indent-level: 4
73 # End: