View Issue Details

IDProjectCategoryView StatusLast Update
0002626Double CommanderFile operationspublic2021-03-11 04:38
Reporterskatemaster Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
ProjectionnoneETAnone 
Summary0002626: Make file search mask usable
DescriptionI am desperately missing file search mask functionalities, known from TC, namely using multiple masks in one search and directory exclusions. This simple thing shortens the search time from minutes to seconds for large repositories.

Examples from TC help:
*.ini finds for example win.ini
Smith finds "Letter to Mr. Smith.doc"
*.bak *.sik *.old finds all backup files with these extensions
*n.ini now finds names which must contain an 'n' in front of the dot.
*wof*.doc finds all names containing "wof" in the name and an extension ".doc".
w*.*|*.bak *.old finds files, which start with w and do not end with .bak or .old.
*.ini | windows\ finds all ini files except those in directories called "Windows" and their subdirs.
*.htm? | _vti*\ finds all html files, except in subdirs starting with _vti (used by Frontpage)
windows\ system32\ *.ini finds ini files only in windows\ and system32 dirs
TagsNo tags attached.
Fixed in Revision
Operating system
Widgetset
Architecture

Activities

Skif_off

2021-03-11 04:38

reporter   ~0003720

Have you tried or just copied from the TC help file? DC supports more than half of the listed examples:

> *.ini finds for example win.ini

Works fine.

> Smith finds "Letter to Mr. Smith.doc"

Works fine.

> *.bak *.sik *.old finds all backup files with these extensions

Works fine, but use semicolon, i.e. "*.bak;*.sik;*.old"

> *n.ini now finds names which must contain an 'n' in front of the dot.

Works fine, this is a simple mask.

> *wof*.doc finds all names containing "wof" in the name and an extension ".doc".

Works fine, this is a simple mask.

> w*.*|*.bak *.old finds files, which start with w and do not end with .bak or .old.
> *.ini | windows\ finds all ini files except those in directories called "Windows" and their subdirs.
> *.htm? | _vti*\ finds all html files, except in subdirs starting with _vti (used by Frontpage)

Currently DC does not support this operator.

> windows\ system32\ *.ini finds ini files only in windows\ and system32 dirs

and this too.
But I am not sure that use "\" is good, because this symbol can be part of file name (on Linux and other Unix-like OS).

Issue History

Date Modified Username Field Change
2021-03-10 11:51 skatemaster New Issue
2021-03-11 04:38 Skif_off Note Added: 0003720