supawaza
3/14/2015 - 7:22 PM

BASH - Delete all files excepted (file patterns)

Delete all files excepted (file patterns)

find . -type f -not \( -name '*zip' -or -name '*iso' \) -delete