Skip to content

Instantly share code, notes, and snippets.

@jbrook
Created August 3, 2012 10:45
Show Gist options
  • Save jbrook/3246615 to your computer and use it in GitHub Desktop.
Save jbrook/3246615 to your computer and use it in GitHub Desktop.
Bash script to set the xFilesFactor and retention for whisper files - Graphite aggregation
#!/usr/bin/env bash
for file in `find . -name "*.wsp" -type f`; do
if [[ $file != *count.wsp && $file != *.tmp ]]
then
/usr/local/bin/whisper-resize.py --xFilesFactor=0.0 --nobackup $file 10:2160 60:10080 600:262800
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment