Last active
September 11, 2017 16:11
-
-
Save wordswords/f41be81faf17a037cacc8fee0edbe0d3 to your computer and use it in GitHub Desktop.
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
1 | |
sudo -H -u llvm-test bash -c "shopt -s dotglob && /usr/bin/nice -15 /usr/bin/find /home/llvm-test/tests -mindepth 1 -mtime +14 -type f -name '*' -delete && /usr/bin/nice -15 /usr/bin/find /home/llvm-test/tests -mindepth 1 -mtime +14 -type d -name '*' -delete && shopt -u dotglob;" | |
2 | |
for testpath in "/home/llvm-test/tests/shoji/Results_History" "/home/llvm-test/tests/batchgen/BatchGen/Results" "/home/llvm-test/tests/batchgen/BatchGen/Failed_Results" "/home/llvm-test/tests/shoji/Data/17*" "/home/llvm-test/tests/shoji/Dsc/17*"; do | |
sudo -H -u llvm-test bash -c "shopt -s dotglob && /usr/bin/nice -15 /usr/bin/find $testpath -mindepth 1 -mtime +14 -type f -name '*' -delete && /usr/bin/nice -15 /usr/bin/find $testpath -mindepth 1 -mtime +14 -type d -name '*' -delete && shopt -u dotglob;" | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment