A simple SH-compatible shell script for backing up a filesystem.
The #! line at the top attempts to execute this script with sudo. If you run this script and it gives Permission Denied messages, please run it with sudo manually before submitting a bug report.
Set $BKROOT to be the location to store backups. Set $DIRS to be the directories to back up. Directories MUST be full paths and should not end with a /
Comments, Bug Reports, and Feature Requests are welcomed and appreciated. Feel free to use or parts of this script in your own programs or on your devices. Credit is nice but not required. Have fun!