![]() |
How to list a file which already created a 2 mins ago
Hi All
AIX.5.3 Python 2.6.2 File ftp to Machine A, need to rename then send to Machine B. How to list a file which already created a 2 mins ago ? If file aging more than 2 mins. I want to rename file to other file name. moonhkt |
Re: How to list a file which already created a 2 mins ago
On 6-12-2012 17:49, moonhkt wrote:
> Hi All > > AIX.5.3 > Python 2.6.2 > > File ftp to Machine A, need to rename then send to Machine B. > > How to list a file which already created a 2 mins ago ? If file aging > more than 2 mins. I want to rename file to other file name. > > moonhkt > ftplib.FTP os.path.getmtime os.rename time.time Should be some pointers to get started. Irmen |
| All times are GMT. The time now is 11:33 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.