Skip to content

Instantly share code, notes, and snippets.

@matthewfischer
Created January 13, 2016 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewfischer/7ad11b926d572e43f390 to your computer and use it in GitHub Desktop.
Save matthewfischer/7ad11b926d572e43f390 to your computer and use it in GitHub Desktop.
#!/bin/bash
function clean {
echo "cleaning keystone-signing-${1}*"
ionice -c3 rm -rf /tmp/keystone-signing-${1}*
}
for dir in {a..z}; do
clean ${dir}
sleep 1
done
for dir in {A..Z}; do
clean ${dir}
sleep 1
done
for dir in {0..9}; do
clean ${dir}
sleep 1
done
clean "_"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment