script to sync folder to s3 using cron and s3cmd

so on the command line, i have been looking for a brain dead simple way of syncing my photographs to s3 every x amount of hours. i wrote a small script to handle that and can be placed in cron to automatically copy new folders to s3. i am working on making this script also … Read More

shell script to output bandwidth rx/tx & packet rx/tx values to graphite

so this script uses bwm-ng (gentoo : gentoo: emerge bwm-ng, or http://www.gropp.org/?id=projects&sub=bwm-ng) and netcat. pretty straight forward : #!/bin/bash ####### # this script uses bwm-ng to gather the bandwidth rx/tx and packet rx/tx on specified interfaces # it only sends numeric values # # to run this script : # nohup sh ~/scripts/bandwidth_graphite.sh & >/dev/null … Read More