Show results during DirSizes

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
User avatar
mdruiter
Posts: 262
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Show results during DirSizes

Post by mdruiter »

When I press Ctrl+Alt+F10, Salamander starts to Calculate Directory Sizes. It does so in the order the subdirectories are displayed (top-down). When I cancel (Esc) I get to see the results calculated up to that moment. I sometimes do that when the action takes 'too' long: if one or some subdirectories contain a lot of files and/or the network is slow.

Wouldn't it be nice if the results were displayed during calculation? :idea:
That way the user would also have an idea how long the action will take to complete, plus which subdirectories take long.

Sounds easy! :wink:
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Show results during DirSizes

Post by Jan Rysavy »

Unfortunately we don't know files/directories count and size until we read whole directory tree.
User avatar
mdruiter
Posts: 262
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Show results during DirSizes

Post by mdruiter »

Then how can Salamander show the partial results after canceling? :?
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Show results during DirSizes

Post by Jan Rysavy »

We know what we already searched. But don't know total items count and size so it could be 1% or 99% - we cannot know until we read all.
User avatar
mdruiter
Posts: 262
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Show results during DirSizes

Post by mdruiter »

In that case, why not process every subdirectory one by one?
User avatar
SvA
Posts: 483
Joined: 29 Mar 2006, 02:41
Location: DE

Re: Show results during DirSizes

Post by SvA »

I take it for granted, that you recursively descent into a directory until you're back in the base directory (the one displayed in the panel). At that point you have visited and summed up all files in that directory tree and know therefore, what to display in the size column of that entry in the panel. So no need to know anything about the rest of files which you have not yet visited.

No progress bar is expected, only that you display what you already know (no work in progress). E.g in Salamander's directory you start summing up files in convert. Before you start summing up doc, you display the value calculated for convert in the panel. Then before you start summing up help you display the size value for doc and so on.
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: Show results during DirSizes

Post by therube »

(Oh, I know it's not what you want, but a swift little utility, WizTree finds the files and folders using the most disk space on your hard drive.)
WinXP Pro SP3 or Win7 x86 | SS 2.54
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Show results during DirSizes

Post by Petr Solin »

I see. Good idea. I have added it to our todo list.
User avatar
mdruiter
Posts: 262
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Show results during DirSizes

Post by mdruiter »

Thanks SvA for making me clear!
Post Reply