D/L files that are 24hr old?

Steven Dennis <[email protected]> Thu, 18 Feb 2016 21:10:01 -0800
Newsgroups gmane.network.lftp.user
Message-ID <CAJipp7eOWvu6hmX=FJEy2M7Zf48UmzEFPNnXNFsoUw13F8mgaQ@mail.gmail.com>
Hello,

I would like to d/l files and folders from a directory on my web server
that have been put there or modified in the last 24 hours.

I have read the man page and came across the --newer-than option.

"For option --newer-than you can either specify a file or time specification
like that used by *at*(1) command, e.g. `now-7days' or `week ago'. If you
specify a file, then modification time of that file will be used."

Can you tell me if this would be correct?

lftp open -u user,pass sftp://XXX.XXX.XXX.XXX -PXXXX mirror -c --newer-than
24hrs /remote/directory/ /local/directory/

Also can you tell me if there are other time parameters that can be used as
well as the "grammar" that should be used when putting this together?

Thanks

Steven

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp