How to filter directories?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC
How to filter directories?
Hi,
How to I create a custom filter that works on directories only?
If I manually select a couple of directories (using the Ins key) I can filter correctly by using the menu Show | Only Selected Files.
I want to create a predefined filter that does the same but I cannot make it work.
Could someone show me how to create a predefined filter that only shows directories labeled "*foo*" ?
TIA
.Henrik
How to I create a custom filter that works on directories only?
If I manually select a couple of directories (using the Ins key) I can filter correctly by using the menu Show | Only Selected Files.
I want to create a predefined filter that does the same but I cannot make it work.
Could someone show me how to create a predefined filter that only shows directories labeled "*foo*" ?
TIA
.Henrik
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC
[face=courier]On 24-03-2003 18:51:16 +0000 HenrikHusted wrote:
H> I want to filter the current directory so only directories
H> that matches *foo* are shown
Find Files | Advanced | A&ttributes: | &Directory[/face]
H> I want to filter the current directory so only directories
H> that matches *foo* are shown
Find Files | Advanced | A&ttributes: | &Directory[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC
Not quite what I am looking for.
I can manually select a couple of directories and filter by means of the Show | Only Selected Files command. Since its the same directories I want to filter every time it would be great to create a Custom Filter and save it.
But it seems like it cannot be done. Ohh well. Find Files is not an good solution, it takes forever to search through the 9000 files and 260 directories.
.Henrik
I can manually select a couple of directories and filter by means of the Show | Only Selected Files command. Since its the same directories I want to filter every time it would be great to create a Custom Filter and save it.
But it seems like it cannot be done. Ohh well. Find Files is not an good solution, it takes forever to search through the 9000 files and 260 directories.
.Henrik
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC
[face=courier]On 25-03-2003 11:09:52 +0000 HenrikHusted wrote:
Sorry, but I can't get your point.
As far as I can understand, you need to search directory names for some specific text, say, "foo" and make visible only search results:
H> Could someone show me how to create a predefined filter that
H> only shows directories labeled "*foo*" ?
May be I miss something very important in your explanation, but this sum has absolutely trivial solution.
1. Find Files | Search &for: *foo*
2. Find Files | Advanced | A&ttributes: | &Directory
3. Save it.
H> If I want to filter for directories I would hit Ctrl+F12 and
H> type in what?
And select the filter you saved from already existing ones.
So if I missed something, please tell me, what exactly.[/face]
Sorry, but I can't get your point.
As far as I can understand, you need to search directory names for some specific text, say, "foo" and make visible only search results:
H> Could someone show me how to create a predefined filter that
H> only shows directories labeled "*foo*" ?
May be I miss something very important in your explanation, but this sum has absolutely trivial solution.
1. Find Files | Search &for: *foo*
2. Find Files | Advanced | A&ttributes: | &Directory
3. Save it.
H> If I want to filter for directories I would hit Ctrl+F12 and
H> type in what?
And select the filter you saved from already existing ones.
So if I missed something, please tell me, what exactly.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
-
- Junior Member
- Posts: 39
- Joined: 2003-03-24, 10:47 UTC
[face=courier]On 28-03-2003 09:48:08 +0000 Hacker wrote:
H> I think you missed that that filter shows all directories,
H> not only *foo*.
With "Find Files" and "Expand selection" such filters work like they should to. Ergo the logic is right
. So this is the bug.[/face]
H> I think you missed that that filter shows all directories,
H> not only *foo*.
With "Find Files" and "Expand selection" such filters work like they should to. Ergo the logic is right

[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
- ford prefect
- Junior Member
- Posts: 39
- Joined: 2003-02-06, 18:03 UTC
- Location: Earth
- Contact:
Even with my barely avarage TC skills I've been faced to the same problem of creating an filter for specific directories...
And found this strange behavior pretty confusing.
Hope that some unique solution for the "filters" will occur soon
(e.g. That filters for files/dirs work the same way as filters for selections, color filters & search)
And found this strange behavior pretty confusing.
Hope that some unique solution for the "filters" will occur soon

(e.g. That filters for files/dirs work the same way as filters for selections, color filters & search)
Don't Panic! We have Total Commander...
- ford prefect
- Junior Member
- Posts: 39
- Joined: 2003-02-06, 18:03 UTC
- Location: Earth
- Contact:
All we need is RE...
Well, me too.norfie wrote:...I like to see dirs even though I want to filter files only.
I think a simple directory attribute override could be nice so there would be 4 options for the attribute:
1. Do not include in filter (Disabled)
2. Exclude directories (filter out dirs e.g. they won't be displayed)
3. Directories only (no files)
4. Ignore directory attribute (TC specific, filter applies to files only) <- DEFAULT!
The difference between 1 and 4 is simple:
in case 1 the filter would apply to any kind of attribute e.g. dirs too
and 4 is clear then

This way the filters can be in all cases the same or did I miss some possibility?
Yes the functionality would differ from the previous versions

Don't Panic! We have Total Commander...