a guest Mar 23rd, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import time
- import shutil, errno
- ##change these
- win_username = 'Jacob'
- sekiro_dir = 'C:\\Users\\' + win_username + '\\AppData\\Roaming\\Sekiro.'
- backup_dir = 'C:\\SekiroBackups'
- ##dont change these
- timestr = time.strftime("%Y%m%d-%H%M%S")
- #copy the files
- shutil.copytree(sekiro_dir, backup_dir + '\\' + 'Sekiro' + timestr)
RAW Paste Data