This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# When this script is run, it generates a new incremental RPI backup .img file | |
# using RonR's image-backup script, deletes the oldest .img file and renames the | |
# remaining .img file to to not contain the `latest` word in the file name. The | |
# idea is that by running this script consistently, there will always be two .img | |
# files: | |
# 1) The .img file generated on the last run. | |
# 2) The .img file generated on the run before the last run. | |
# When the script is run again, the .img file in step 2 is deleted (rotated out) and | |
# the one in step 1 is renamed, while a .img file is generated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DEPS="$HOME/local/" | |
BIN="$DEPS/bin" | |
# Kill script if any command exits with non-zero exit status | |
set -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=2.1 |