Created
July 9, 2017 12:35
-
-
Save techtonik/341bceb75c551520c0b69184948564ee to your computer and use it in GitHub Desktop.
Revisions
-
techtonik created this gist
Jul 9, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ import os from shellrun import run from datetime import datetime hist = sorted([name for name in os.listdir('.') if name.startswith('appvey') and name != 'appvey.py']) print('\n'.join(hist)) for f in hist: tstamp = datetime.fromtimestamp(os.path.getmtime(f)) run('copy {} appvey.py'.format(f)) run('git add appvey.py') run('git commit -m "hacking.." --date "{}"'.format(tstamp))