Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 4 lines (3 sloc) 187 Bytes
#!/bin/sh
# Written in 2010 by Suraj N. Kurapati <https://github.com/sunaku>
locate -b '^core\.?[0-9]*$' --regex | xargs file | fgrep ELF | awk '{print $1}' | sed 's,:$,,' | xargs rm -vf