I'd like to be able to search all files EXCEPT a certain extension(s). For example, maybe search all text files, but no binaries. So I may only want to exclude *.exe. Something like " find in: !*.exe".
Anyone know of a way to do this?
Thanks,
Dan
Inverting find in files search
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
There is a way by using so-called @-files. See TP's help on "How to Find in Multiple Files". HTH
...Note that by creating a file containing a list of file names, one per line, and specifying the name of that file in this box, preceded by the character '@', this command will search the specified files.
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Off the top of my head........
Check out XXcopy at www.xxcopy.com. One option in xxcopy is to list files to be copied without copying. But they also have an exclusion option. So you could use this to find files without extension "abc".
This may not work for what you want to do. Could possible pipe the results to a file and then parse it?
I have not checked this out, just a quick thought.....
Check out XXcopy at www.xxcopy.com. One option in xxcopy is to list files to be copied without copying. But they also have an exclusion option. So you could use this to find files without extension "abc".
This may not work for what you want to do. Could possible pipe the results to a file and then parse it?
I have not checked this out, just a quick thought.....
Hope this was helpful.............good luck,
Bob
Bob