Commit ffcc7f20 authored by Klaus Wölfel's avatar Klaus Wölfel

add python script for getting last modification date

parent 6e1fb751
import os.path, time
import os
file = "/mic/L0444-001/syscom/syscom004-14360007/background/2017/12/17342180.BMR"
print("last modified: %s" % time.ctime(os.path.getmtime(file)))
print("created: %s" % time.ctime(os.path.getctime(file)))
print (os.stat(file).st_mtime)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment