Skip to content

Instantly share code, notes, and snippets.

View clegett's full-sized avatar

Chip Legett clegett

  • Stony Brook, NY
View GitHub Profile
#!/bin/sh
# Pull incremental backups from remote host
TIMESTAMP=$(date +%F--%H-%M-%S)
SRC_LOC="$1"
SRC_HOST="$(echo "$SRC_LOC" | cut -f 2 -d @)"
SRC_DIR="/*"
DEST_BASE="/backup/incremental/$SRC_HOST"
@clegett
clegett / ouemt.sls
Last active October 20, 2017 20:56 — forked from anonymous/ouemt.sls
#Uses this formula: https://github.com/saltstack-formulas/epel-formula
include:
- epel
davinci.packages:
pkg.installed:
- pkgs:
- gdal
- hdf5-devel
- gnuplot