Linux.com

Author Message
Joined: Dec 02, 2008
Posts: 3
Other Topics
Posted Dec 02, 2008 at 10:53:41 AM
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!
Back to top Profile Email Website
thobbs
Joined Oct 12, 2008
Posts: 238
Location:Texas!

Other Topics
Posted: Dec 02, 2008 6:11:59 PM
Subject: 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&section=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.
Back to top Profile Email Website
wassup
Joined Dec 02, 2008
Posts: 3

Other Topics
Posted: Dec 02, 2008 7:16:17 PM
Subject: 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]
Back to top Profile Email Website
thobbs
Joined Oct 12, 2008
Posts: 238
Location:Texas!

Other Topics
Posted: Dec 03, 2008 12:03:25 AM
Subject: 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]
Back to top Profile Email Website
wassup
Joined Dec 02, 2008
Posts: 3

Other Topics
Posted: Dec 04, 2008 6:38:10 PM
Subject: lftp help
nope, that doesn't work.. i have tried so many other different possibilities and i still got nothing :/
Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya