lftp help
Author Message
Posted : Tue, 02 December 2008 10:53:41
Subject : lftp help
Hey everyone. I was looking through the lftp man, when i saw this command --newer-than= but i have tried it out and not have been successful.. I want it to mirror by date anything newer than today at 10:00 am for example.. how can i do that? thanks in advance!
thobbs
Posted : Tue, 02 December 2008 18:11:59
Subject : Re: lftp help
It says that it uses the same time specification as [b]at[/b]. Man page for at: [url]http://man.he.net/?topic=at§ion=all[/url] here. The man page mentions that the exact time specification can be found at /usr/share/doc/at/timespec, although that file is not extremely helpful.
wassup
Posted : Tue, 02 December 2008 19:16:17
Subject : Re: lftp help
ok, thanks for the reply.. but i still don't know how to format the time :/ edit: i tried this mirror --newer-than=Mon_Dec_02_10:00:00_2008 because in the at man this appears: Times displayed will be in the format "Thu Feb 20 14:50:00 1997". [Modified by: wassup on December 02, 2008 07:19 PM]
thobbs
Posted : Wed, 03 December 2008 00:03:25
Subject : Re: Re: lftp help
It looks like there are a few ways to format everything. Perhaps try this: [code=xml]lftp :~> mirror --newer-than 10:00am12/02/08[/code] If that does not work, I don't know what to say except "experiment". [Modified by: thobbs on December 02, 2008 06:04 PM]
wassup
Posted : Thu, 04 December 2008 18:38:10
Subject : lftp help
nope, that doesn't work.. i have tried so many other different possibilities and i still got nothing :/