Removing entries from file listboxes

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
browny
Senior Member
Senior Member
Posts: 288
Joined: 2007-09-10, 13:19 UTC

Removing entries from file listboxes

Post by *browny »

That mostly refers to listbox created with File Find, but also might be useful in Synchronize directories too (though there might be workarounds in Sync tool).

Not to delete file(s), but just shorten the list and keep only the necessary files for further inspection and other actions.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This already exists: Menu "Show" - "Only selected files".

For example, to show just the files with the same name (but different extensions) as the one under the cursor, use:
cm_SelectCurrentName,cm_ShowOnlySelected,cm_ClearAll
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

This already exists: Menu "Show" - "Only selected files".
Well, the problem is not with the file list, but with the list of recently used entries.
There is no simple way to remove single entries from the list like e.g. "Synchronize Directories"

Code: Select all

*.*
*.*|temp\
*.mp?|*.mpg   <-- remove just this
*.jpg
At Outlook you may remove a recently used address using Ctrl-Del from the list.
#5767 Personal license
browny
Senior Member
Senior Member
Posts: 288
Joined: 2007-09-10, 13:19 UTC

Post by *browny »

ghisler(Author) wrote:This already exists: Menu "Show" - "Only selected files".

For example, to show just the files with the same name (but different extensions) as the one under the cursor, use:
cm_SelectCurrentName,cm_ShowOnlySelected,cm_ClearAll
The scenario was different, it was not a one-time operation.
For example, reviewing extensive code changes in many files.
Using consequtive searches on listbox it was possible to reduce the number of files to inspect.
Then inevitably comes manual stage.
If the file is irrelevant or necessary changes were made in the target, then the best action would be to remove the file from the list and go to the next entry. Otherwise the file might be left for further investigations.

Yes, it would be possible to select all + deselect the file(s) + show only selected + unselect all.
But it might be beneficial to have a context menu entry (and maybe even Ctrl+Del shortcut, which seems to be unused now).

The same could be said about Sync tool.
Post Reply