Skip to content

Instantly share code, notes, and snippets.

David Dean vahnilah

View GitHub Profile
@vahnilah
vahnilah / BackupFiles.py
Last active Mar 16, 2019
Python script for Windows 10 to backup all files & replace with a newer copy, use git to make a history, and then shutdown computer
View BackupFiles.py
# Backup files through git and local
# Setup git to push to a remote or local network to secure backups outside of local machine if hardware failure occurs
# Setup backup folder to a seperate drive
# Original: Jan 5 2015
# Update1: Feb 13 2018
# Update2: Mar 16 2019
""" Example of txt file
@vahnilah
vahnilah / StartDevelopment.py
Last active Mar 16, 2019
Python script to open your IDE and scan for changes in your working directory to make backup files in a different directory whenever a save or new file is created.
View StartDevelopment.py
# Script to open programs, make backups, and push to git every 1hr when ever changes are made
# Setup git & backup folder to push to remote or self-hosted network to secure backups outside of local to protect if hardware failure occurs
# Created 03.14.2019
# Updated 03.16.2019
""" Example of txt file
--- Program to open ---
C:\Program Files\...\SomeIDEProg.exe
You can’t perform that action at this time.