daily pastebin goal


a guest Mar 13th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # Install:
  3. #  remove file extension
  4. #  move to /bin/ or /usr/bin/ directory
  5. #  add `export BACKUP_LOCATION=[backup drive mount location]` to .bashrc
  6. # Usage:
  7. #  `backup [folder]`
  8. #  e.g. `backup Documents`
  9. #  [folder] is a folder in your home directory. Use
  10. #  links for folders ouside of home directory.
  11. rm -r -f $BACKUP_LOCATION/$1/
  12. cp -r ~/$1/ $BACKUP_LOCATION/$1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand