SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2. import shutil, errno
  3.  
  4. ##change these
  5. win_username = 'Jacob'
  6. sekiro_dir = 'C:\\Users\\' + win_username + '\\AppData\\Roaming\\Sekiro.'
  7. backup_dir = 'C:\\SekiroBackups'
  8.  
  9. ##dont change these
  10. timestr = time.strftime("%Y%m%d-%H%M%S")
  11. print(timestr)
  12.  
  13. #copy the files
  14. shutil.copytree(sekiro_dir, backup_dir + '\\' + 'Sekiro' + timestr)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top