Advertisement
Guest User

Script

a guest
Jun 30th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.77 KB | None | 0 0
  1. import shutil
  2. import time
  3. import os
  4. import sys
  5. from colorama import *
  6. init()
  7.  
  8.  
  9. # Variables
  10. time_date = time.asctime()
  11. time_date = time_date.replace(":", ".")
  12. orange = (255,140,0)
  13.  
  14.  
  15. letters = ['A', 'B', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'W', 'X', 'Y', 'Z']
  16. # OR driv_names = [chr(i) for i in range(65, 91)] <=== automatic range A-Z
  17. drives = []
  18.  
  19.  
  20. def loop():
  21.         for i in letters:
  22.             if os.path.exists(i + ":\\") :
  23.                 drives.append(i + ":/")
  24.                 for i in drives:
  25.                     print(Fore.MAGENTA +  "Leaking Data of driver: ", i, "Please wait.... !")
  26.                     dst = 'D:/.../backups/' + time_date
  27.                     shutil.copytree(i,dst)
  28.  
  29.  
  30.  
  31. while True:
  32.     loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement