Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nexeck/8314815 to your computer and use it in GitHub Desktop.
Save nexeck/8314815 to your computer and use it in GitHub Desktop.
for f in $(find $1 -iname "*.wsp"); do
if [ -a $f ];
then /opt/graphite/bin/whisper-set-aggregation-method.py $f max;
fi;
done
for f in $(find $1 -iname "*.wsp"); do
if [ -a $f ];
then /opt/graphite/bin/whisper-resize.py $f 10s:12h 60s:7d 10m:3y;
fi;
done
@nexeck
Copy link
Author

nexeck commented Jan 8, 2014

find ./ -type f -name '*.wsp' -exec whisper-resize.py --nobackup {} 1s:2d 10s:31d 60s:365d ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment