topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday October 11, 2024, 9:48 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Filter directory tree by file type?  (Read 11043 times)

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
Filter directory tree by file type?
« on: November 07, 2010, 07:33 PM »
You know how the Open File dialog can show only files matching a particular type? As soon as you go up the tree it displays all the directories and you have to open them to see if they contain anything relevant.

Is there any program that can take a file type and return a list of directories that contain files of that type?
If you don't see how it can fail -
you haven't understood it properly.

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #1 on: November 07, 2010, 08:29 PM »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #2 on: November 07, 2010, 09:14 PM »
TaskTracker

http://tasktracker.w...rdwisesolutions.com/

Is it freeware? I don't see any license or purchase info.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #3 on: November 07, 2010, 09:15 PM »
Nope: Registration

I'd just use Everything and type in the path and/or filter.
« Last Edit: November 07, 2010, 09:18 PM by 4wd »

hpearce

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 139
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #4 on: November 08, 2010, 06:56 AM »
some file managers have a display view called FLAT VIEW that will display all folders and files in one lister like DOPUS.
Windows 7 SP1 (TM) Home Premium 64-bit .. Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26 GHz / 2.27 GHz .. 4GB RAM .. NVIDIA GeForce 9800M GTS .. Gateway P-7805u FX

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #5 on: November 08, 2010, 12:03 PM »
some file managers have a display view called FLAT VIEW that will display all folders and files in one lister like DOPUS.

in dopus you can also filter the list to only show certain filetypes (or names)
Tom

sajman99

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 664
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #6 on: November 08, 2010, 01:46 PM »
In addition to search tools and file mangers, some system profilers could help out.

For example, WinDirStat displays file types. I know there are many more I'm not recalling at the moment.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #7 on: November 08, 2010, 02:28 PM »
FreeCommander has a filter but it's only for the current folder. It won't remove folders from the tree. I think the reason they don't is it's slow. FreeCommander has a Toolbar Icon to show folder sizes. It's off by default because recursively descending through the folder tree is slow. Essentially you are doing a FindFirstFile..FindNextFile processing of every file on the drive.  On the system partition that's easily several hundred thousand files.

Just open a command prompt to C:> and do
dir /s

command and watch it go on for minutes.

edit: just for chuckles I ran it on my Vista64 machine.  Took about 3 min 24 sec and listed over 215,000 files.


Might be a nice idea for a tool that does indexing though. Especially if the tree didn't get changed that often.  Like some data storage without a lot of deletions.
« Last Edit: November 08, 2010, 02:45 PM by MilesAhead »

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #8 on: November 08, 2010, 02:56 PM »
TaskTracker

http://tasktracker.w...rdwisesolutions.com/

Is it freeware? I don't see any license or purchase info.
No, it's $30.  At least I think that's what the cost is after clicking 5 or so links.

I used TaskTracker for several years and it worked well and served a real purpose for me.  Things changed and I didn't move it to my new machine.  I don't think I paid anywhere near $30 for it.  If I needed it again I'd look for a cheaper way first.

It doesn't work inside the Open/Save dialogs, but it does group file types across your directory tree.  It does that well.

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #9 on: November 09, 2010, 07:36 AM »
Nope: Registration

I'd just use Everything and type in the path and/or filter.

That's FAST!!!  :o And it will do for what I need. Thanks!  :Thmbsup:
If you don't see how it can fail -
you haven't understood it properly.

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #10 on: November 09, 2010, 11:06 PM »
That's FAST!!!  :o And it will do for what I need. Thanks!  :Thmbsup:

No problem, there's a later version that's beta on the forum here, (it's been out a year and has been stable here), which adds a few things, (eg. recent change filters, better Safe Removal support, etc).

If you enable the Shell context menu, then it will restrict itself to the chosen path including sub-directories without you having to type them in.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #11 on: November 12, 2010, 07:35 AM »
Is there any program that can take a file type and return a list of directories that contain files of that type?

Except for all the special programs already mentioned, I will like to remind you that Explorer does this per default. Just type .TheFiletype in Explorer's search box, when you are in a top directory, and the result will include all relevant files in every sub-folder in that directory. The speed of the result depends on whether you have indexing turned on or off.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #12 on: November 12, 2010, 01:59 PM »
Is there any program that can take a file type and return a list of directories that contain files of that type?

Except for all the special programs already mentioned, I will like to remind you that Explorer does this per default. Just type .TheFiletype in Explorer's search box, when you are in a top directory, and the result will include all relevant files in every sub-folder in that directory. The speed of the result depends on whether you have indexing turned on or off.


I never thought to try that.  Here's a weirdy though. I typed in .txt in the Address Bar by mistake and it opened a tab in Chromium telling me it could not find the web site!!!  heh heh heh

When I used the search with .txt it found the text files though. :)

DonL

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 171
    • View Profile
    • XYplorer File Manager
    • Donate to Member
Re: Filter directory tree by file type?
« Reply #13 on: November 20, 2011, 01:24 PM »
XYplorer 10.60 will come with a Flat View that can be filtered (wildcards patterns, Boolean logic, RegExp), level-indented, and sorted in a tree-like sort order. In other words, it comes with a directory tree filtered by file type. That's why I revived this old topic. :)