Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (21 loc) · 1.11 KB

DriveBackup

This script searches connected drives and, once the target is found (E:\ by default), all contents of the drive are copied to a predetermined folder.

Updates

v0.4 - April 23, 2022

Added option for custom destination folder name

Updated dest_path date & time formatting:

  • Changed to abbreviated month names
  • Removed seconds
  • Added option for 12 hr time

Added target_drive variable, to simplify changing the source

Turned verbose output into comments to fit with production environment

v0.3 - April 22, 2022

Adjusted drive checking, only proceeds if E:\ is detected

Added verbose output + time delays

v0.2 - April 20, 2022

Changed copying service from distutils.dir_util.copy_tree to robocopy

Changed dest_path to match production environment

Added simple error handling for robocopy, still WIP

v0.1 - April 19, 2022

Script created!

Configured to copy from a flash drive to development environment