adric.net

Clear_arch
Login

works:

#!/bin/bash
### clear_arch: remove files from directory you can't easily list or loop through 
### copyleft 2008 

arch

"/var/log/arch-apache" hush

" &> /dev/null"

for ch in e t n a r o i u s m p h k w f c d; do ( rm $arch/$ch* ) &> /dev/null; done for num in 1 2 3 4 5 6 7 8 9 0; do ( rm $arch/$num* ) &> /dev/null; done (rm $arch/* ) &> /dev/null echo "$arch cleared.."