Search files in folders and archives, but exclude catalogs

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Search files in folders and archives, but exclude catalogs

Post by *peterb »

This is a duplicate entry for the german entry -
"Dateisuche, in Archiven, ohne Archive von Diskdir"
I thought this would reach more users ;-)

Hello,

how can I exclude specific catalog types or archive types
when searching for files (ALT-F7), and the option
"search archives (all expect for UC2)" is activated?

I want to find files in physical folders and real archives
like ZIP, RAR etc, but I like to exclude catalog archives
like DiskDir listings.

- search file "testfile", option "search archives" off:

c:\Tmp\test\sub1\testfile_a.txt
c:\Tmp\test\sub1\testfile_b.txt
c:\Tmp\test\testfile_1.txt
c:\Tmp\test\testfile_2.txt

- search file "testfile", option "search archives" activated:
(this includes unwanted hits in diskdir catalogs)

c:\Tmp\test\sub1\testfile_a.txt
c:\Tmp\test\sub1\testfile_b.txt
c:\Tmp\test\diskdir.dir/sub1\testfile_a.txt < how to exclude them?
c:\Tmp\test\diskdir.dir/sub1\testfile_b.txt < ..
c:\Tmp\test\testfile_1.txt
c:\Tmp\test\testfile_2.txt

thanks all,
Peter
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

Solved.

Sorry, ohoh, stupid me ... using TC for so long,
and then I forgot about option "ignore list".

Not the fastest method but works.
If someone has a faster way, let me know.

thanks
Peter
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Not so bad way:) you can turn ignore list off, then write path to your ignore list (IgnoreListFile parameter of wincmd.ini) and then enable it just before search from batch, and even open search dialog then.
KucingLapar
Member
Member
Posts: 134
Joined: 2007-06-25, 11:54 UTC

Post by *KucingLapar »

I think a more desirable solution is by specifying exclusion mask in the search text

find: testfile | *disk.dir*
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

Hello KucingLapar,

testfile | *disk.dir*
will not work, disk.dir is a catalog
(treated like an archive, via Diskdir WCX)

enjoy,
Peter
Post Reply