From 2d0e15f8110486398fa5b6e4965636cbcf3d4549 Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 5 May 2018 06:51:23 -0400 Subject: [PATCH] adding timestamp file --- gpg/sksdump.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpg/sksdump.py b/gpg/sksdump.py index 59ef224..60bd66c 100755 --- a/gpg/sksdump.py +++ b/gpg/sksdump.py @@ -364,6 +364,8 @@ def main(): with open(args['logfile'], 'a') as f: f.write('===== {0} DONE =====\n'.format( str(datetime.datetime.utcnow()))) + with open(os.path.join(args['destdir'], 'LAST_COMPLETED_DUMP'), 'w') as f: + f.write(str(datetime.datetime.utcnow())) if __name__ == '__main__':