You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aiden Holmes 9a588ebcbc update license 6 months ago
.gitignore ignore *.pyc 1 year ago
LICENSE update license 6 months ago update todo 6 months ago better comments pt5 6 months ago
logo.png add logo file 1 year ago make setting some variables less verbose 6 months ago


a simple backup tool


Example: backuping and and restoring a directory’s contents with backr



  • Store different backups in different locations

  • Backup a folder and one or more of its subfolders separately

  • Delete old backups to save space without affecting more recent ones


  1. rename hash and dir variables

  2. prefer args to prompting the user

  3. use separate variables for backr_location

  4. restor —clean feature to remove old backups from backup list

  5. use Makefile to compile files in installation

  6. do less in main() (keep in mind during other todos)


git clone

cd backr-py

put and in PATH, eg:

ln -s ~/backr-py/ ~/.local/bin

ln -s ~/backr-py/ ~/.local/bin


cd /foo/bar # to backup # to restore


Remove and from PATH then delete the repository