0 votes

I want to do a search on all files on a network disk. But certain file types I don't care about for example filestypescalled.xyz. How can I search all files except *.xyz?

by (30 points)

1 Answer

0 votes

To exclude files from a search use the NOT keyword, e.g.

File name: NOT:*.xyz

If you had multiple file types to exclude separate them with a semi-colon, e.g. to exclude both .xyz and .abc

File name: NOT:*.xyz;*.abc
by (78.7k points)