Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How to retrieve files at least 5 minutes old using sftp foreign

by salva (Abbot)
on Nov 07, 2013 at 08:15 UTC ( #1061531=note: print w/replies, xml ) Need Help??


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 });
  • Comment on Re: How to retrieve files at least 5 minutes old using sftp foreign
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061531]
help
Chatterbox?
[Discipulus]: thanks vrk i'll look at that site: but I exist just on perlmonks ;=)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-04-27 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (501 votes). Check out past polls.