Hi,
How i find the empty directories using tc?By the way these directories's size is zero
thx
How i find the empty directories using tc?
Moderators: Hacker, petermad, Stefan2, white
- chunwaihome
- Junior Member
- Posts: 75
- Joined: 2005-02-09, 04:38 UTC
How i find the empty directories using tc?
Last edited by chunwaihome on 2009-05-23, 01:02 UTC, edited 1 time in total.
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
<DIR> doesn't distinguish between empty folders, folders containing just subfolders without files and folders containing only 0 byte files.Then sort by size.If a folder is empty then its size column shows <DIR>
http://lefteous.de/tc/docs/dirsizecalc/readme.htm#empty_directory_display
- chunwaihome
- Junior Member
- Posts: 75
- Joined: 2005-02-09, 04:38 UTC
Good job

Really i have no update "dirsizecalc plugin" with a long time. The function "empty directory" is my need.
Actually Alt+Shift+Enter can't get my purpose. "What i think is that I Want to use plugin to colour the empty directory and del them"
Until now i find that this plugin little slow down my tc but which i can accept
The field which find empty directories is way faster than TC's size enumeration as it just looks for contents and if found stops calculation. Loading the values automatically in a custom column will of course cause a minor slowdown. I recommend to use the search to find empty directories from time to time.Until now i find that this plugin little slow down my tc but which i can accept
An alternative is to load the values on demand only. Starting with TC 7.5 there is a way to display field values for all or for all selected files/folders if they are configured as on demand. On demand configuration can be done with the bundled settings utility. The commands in TC are cm_LoadAllOnDemandFields and cm_LoadSelOnDemandFields.