in reply to How to retrieve files at least 5 minutes old using sftp foreign
my $until = time - 5 * 60; $sftp->mget($filemask, $dest, wanted => sub { $_[1]->{a}->mtime < $until });
|
---|
In Section
Seekers of Perl Wisdom
in reply to How to retrieve files at least 5 minutes old using sftp foreign
my $until = time - 5 * 60; $sftp->mget($filemask, $dest, wanted => sub { $_[1]->{a}->mtime < $until });
|
---|