Gimpfz
gimp file explore
In [10]:
import os
from datetime import datetime
#import gimpfu
filePath = "/home/wcmckee/Desktop/adventure.xcf"
modifiedTime = os.path.getmtime(filePath)
print datetime.fromtimestamp(modifiedTime).strftime("%d%b%Y %H:%M:%S")
In [10]:
In [11]:
os.chdir('/home/wcmckee/Desktop')
In [12]:
lisdesk = os.listdir('/home/wcmckee/Desktop/')
In [13]:
for xcfz in lisdesk:
print xcfz
modifiedTime = os.path.getmtime(filePath)
print datetime.fromtimestamp(modifiedTime).strftime("%Y-%m-%d %H:%M:%S")
In [ ]: