Last Updated: February 25, 2016
·
329
· dmitree

Find everything except

Finds every file except file with "Repo" in it:

find . -type f -not -name '*Repo*'

Might come handy when need to delete all files but one specific:

find . -type f -not -name '*Repo*' | xargs rm