#!/usr/bin/python3 import argparse import os import filing from profile import Profile from surks import Surks DESC = 'set file time to fidate, unfinished' parser = argparse.ArgumentParser(description=DESC) parser.add_argument('-v', action='store_true', help='raise verbosity') parser.add_argument('fufi', metavar='fufi', type=str, help='file') args = parser.parse_args() fufi = args.fufi if not os.path.exists(args.fufi): print(f"I don't see {fufi}") quit() p = Profile() s = Surks() doc = p.read(fufi) fidate = s.get_fidate(doc) print(fidate)