Created
August 3, 2012 10:45
-
-
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
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
#!/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