Advertisement
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")
- print(timestr)
- #copy the files
- shutil.copytree(sekiro_dir, backup_dir + '\\' + 'Sekiro' + timestr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement