Menu Close

Category: Scripts

Enhanced backup.py

#!/usr/bin/env python import subprocess, sys, re, pathlib from datetime import datetime backup_folder = “/media/Backup/Windows_10_backup” if len(sys.argv) != 2: print(“No input drive.”) exit(0) if not pathlib.Path(sys.argv[1]).exists():…