How to see the disk space occupied by a certain type of files in folders ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
jbcb
Junior Member
Junior Member
Posts: 38
Joined: 2013-08-30, 06:43 UTC

How to see the disk space occupied by a certain type of files in folders ?

Post by *jbcb »

Is there a way to make Total Commander display the disk space of all directories in the current directory, but only consider files of a certain type? I have a deep and extensive structure and I want to e.g. find out where the most photos are.

Something like Alt+Shift+Enter combined with Alt+F7 (or Num+).
User avatar
nsp
Power Member
Power Member
Posts: 1912
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: The disk space occupied by a certain type of files in folders

Post by *nsp »

For This, i use WizTree with filter and admin to have fast ntfs lookup. I start from TC like

Code: Select all

TOTALCMD#BAR#DATA
<PathTo>WizTree.exe
/admin=1 /filter="*.png|*.jpg|*.gif|*.tiff|*.raw"
<PathTo>WizTree.exe



-1
You get all you need and blazing fast.
ootoo
Junior Member
Junior Member
Posts: 17
Joined: 2022-02-28, 05:29 UTC

Re: The disk space occupied by a certain type of files in folders

Post by *ootoo »

This command doesn't seem to work. It cannot pass the current directory to wiztree.

I am also looking for a way to pass the current directory to wiztree
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: How to see the disk space occupied by a certain type of files in folders ?

Post by *Stefan2 »

ootoo wrote: 2024-08-19, 15:57 UTC It cannot pass the current directory to wiztree.
What / how have you attempted right now ?






 
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6954
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: The disk space occupied by a certain type of files in folders

Post by *Horst.Epp »

ootoo wrote: 2024-08-19, 15:57 UTC This command doesn't seem to work. It cannot pass the current directory to wiztree.

I am also looking for a way to pass the current directory to wiztree
Enable the Context menu under options.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Fla$her
Power Member
Power Member
Posts: 2985
Joined: 2020-01-18, 04:03 UTC

Re: The disk space occupied by a certain type of files in folders

Post by *Fla$her »

ootoo wrote: 2024-08-19, 15:57 UTC This command doesn't seem to work. It cannot pass the current directory to wiztree.
Specify "%P" as the first parameter.
Overquoting is evil! 👎
ootoo
Junior Member
Junior Member
Posts: 17
Joined: 2022-02-28, 05:29 UTC

Re: How to see the disk space occupied by a certain type of files in folders ?

Post by *ootoo »

Code: Select all

/d:/admin=1 /path="%P"
It is not possible to pass parameters to the scan drive letter, only the current directory to the filter
ootoo
Junior Member
Junior Member
Posts: 17
Joined: 2022-02-28, 05:29 UTC

Re: How to see the disk space occupied by a certain type of files in folders ?

Post by *ootoo »

Just now I replied, changed the parameters, and it worked
Probably just now I selected the context menu and turned it off

Code: Select all

/d:/admin=1 "%P"
Fla$her
Power Member
Power Member
Posts: 2985
Joined: 2020-01-18, 04:03 UTC

Re: How to see the disk space occupied by a certain type of files in folders ?

Post by *Fla$her »

ootoo wrote: 2024-08-20, 04:00 UTC

Code: Select all

/d:/admin=1 /path="%P"
It is not possible ...
I don't see you doing as I wrote.

Code: Select all

"%P" /admin=1 /filter="*.png|*.jpg|*.gif|*.tiff|*.raw"
Overquoting is evil! 👎
ootoo
Junior Member
Junior Member
Posts: 17
Joined: 2022-02-28, 05:29 UTC

Re: How to see the disk space occupied by a certain type of files in folders ?

Post by *ootoo »

Fla$her wrote: 2024-08-20, 08:44 UTC
ootoo wrote: 2024-08-20, 04:00 UTC

Code: Select all

/d:/admin=1 /path="%P"
It is not possible ...
I don't see you doing as I wrote.

Code: Select all

"%P" /admin=1 /filter="*.png|*.jpg|*.gif|*.tiff|*.raw"
It's more perfect, thank you
Post Reply