find . -type f ! \( -iname '*.jpg' -o -iname '*.png' -o -iname '*.jpeg' \) | sort
. : start at current dir recursively -type f : only files not directories -iname : like -name with ignore case -o : OR ! : -not
No comments:
Post a Comment