Skip to content

Instantly share code, notes, and snippets.

View vahnilah's full-sized avatar

David Dean vahnilah

View GitHub Profile
@vahnilah
vahnilah / BackupFiles.py
Last active March 16, 2019 23:30
Python script for Windows 10 to backup all files & replace with a newer copy, use git to make a history, and then shutdown computer
# 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 March 16, 2019 23:28
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.
# 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