0
How To print the files older than some x days
Using Python Language Only
2 odpowiedzi
+ 1
Try to use os module and os.stat - you need to find ctime of file - this is a time when file have been created (but only for Unix-like os), then get time for now in unixtime: from time import time, and then: if (time() - ctime)/86400 > x then you need print this filename.
0
thank u..