From bc4f25fde46bf1f722faf09a3a0646f5ae6db163 Mon Sep 17 00:00:00 2001 From: Jonas Meier Date: Sun, 17 May 2020 23:14:39 +0200 Subject: [PATCH] correct space --- rsync-timefilter.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rsync-timefilter.pl b/rsync-timefilter.pl index b9d55e9..827a2ac 100755 --- a/rsync-timefilter.pl +++ b/rsync-timefilter.pl @@ -15,11 +15,10 @@ my $rsync_dst; my $age; GetOptions ("source=s" => \$rsync_src, - "destination=s" => \$rsync_dst, - "age=i" => \$age) + "destination=s" => \$rsync_dst, + "age=i" => \$age) or die("Error. Wrong arguments!\n"); - my $now = DateTime->now(); my $cutoff_timestamp = $now - DateTime::Duration->new(days => $age); my $parser = DateTime::Format::Strptime->new(