delete all files .zip extension linux code example Example: linux remove all files same extension in directory find . -type f -iname \*.zip -delete