[Feature Request]: Search files/folders exclude folders

Discussion and questions - donor version.
Post Reply
Message
Author
js365
Posts: 6
Joined: 01.11.2011, 22:01

[Feature Request]: Search files/folders exclude folders

#1 Post by js365 » 12.09.2014, 19:46

Could you add "exclude" feature to the search files/folders function?
That would be extremely helpful!!!

Ex.
File name: *.*;-*.exe -> search every files except execution files.
Folders: C:\MyProj;-C:\MyProj\Build -> search within C:\MyProj folder and subfolders except C:\MyProj\Build

Thanks.

Anti-Distinctlyminty
Posts: 31
Joined: 20.06.2014, 06:49

Re: [Feature Request]: Search files/folders exclude folders

#2 Post by Anti-Distinctlyminty » 14.09.2014, 12:04

Would be useful. I recommend using a different character in place of -, as - can be used in paths. i.e. just use an illegal character...or a ! that must be escaped if you want the actual character !.

Timon
Posts: 688
Joined: 13.09.2012, 06:51

Re: [Feature Request]: Search files/folders exclude folders

#3 Post by Timon » 14.09.2014, 17:24

Filtering (include/exclude options) are very well implemented in MultiCommander.

I think that the same must be implemented in FC XE.

If a filter should match a folder then prefix the filter with a slash "/" and if you want to exclude any files prefix it with a dash "-". If a folder should be excluded use the dash first ( eg "-/MyFolder" )

"-/*" (without quotes.) this will exclude all folder
"/" Used to be for folder specific filter. And for exclude it still works "-/FolderToExclude"

"!" is used for Date filtering !today , -!today , !YYYY-MM-DD , -!YYYY-MM-DD
"!today" - only show file/folder with date from today
"-!today" - show all file Except the file/folder from today
"!2012-01-01" - Show file that are newer then 2012-01-01
"-!2012-01-01" - Show file that are older then then 2012-01-01

Using wildcard search you can also specify a exclude filter by including a - infront of the filter.
For example if you search for "*.cpp -base*"
This will find file named AlphaClass.cpp but it will not match BaseClass.cpp

"*.sql /*"
View filter starting with / specify a folder filter. So *.sql for only the sql files and /* to show all folders.

Timon
Posts: 688
Joined: 13.09.2012, 06:51

Re: [Feature Request]: Search files/folders exclude folders

#4 Post by Timon » 23.10.2014, 11:36

Big improvements in FC XE 674

-*.txt exclude all *.txt files
--*.* include files with '-' at the beginning
\*docs include *docs folders
-\*temp exclude *temp folders
|today from 00:00 till now
|hour not older than one hour
|day not older than 24 hours
|week not older than 7 days
|month not older than 30 days
|year not older than 365 days
-|xxx older than
>3000 greater than 3000 bytes
>kb3 greater than 3 kb
>mb3 greater than 3 mb
>gb3 greater than 3 gb
<3000 smaller than 3000 bytes
<kb3 smaller than 3 kb
<mb3 smaller than 3 mb
<gb3 smaller than 3 gb

Timon
Posts: 688
Joined: 13.09.2012, 06:51

Re: [Feature Request]: Search files/folders exclude folders

#5 Post by Timon » 23.10.2014, 15:48

By the way, if we want to filter (include/exclude) only files with NO extension. I can't find a way to do that. I tried entering "*." with and without the quotes and with and without a trailing space, but in vain.

Is it possible to filter (include/exclude) files with NO extension?

Any suggestions?

Timon
Posts: 688
Joined: 13.09.2012, 06:51

Re: [Feature Request]: Search files/folders exclude folders

#6 Post by Timon » 22.01.2015, 07:26

At leisure studied innovations in XYplorer 14.80 and found some interesting improvements.

Find Empty Items. Now you can quickly list all empty files and folders.
Simply append the switch /e (for "empty") to the Name pattern in Quick Search (F3) or Find Files (Ctrl+F). For example:

* /e //find all empty items (zero byte files and empty folders)
a* /e //find all empty items starting with "a"
a* /ef //find all empty files starting with "a"
a* /ed //find all empty folders starting with "a"

Yes, in FC XE we have ">" and "<" ("greater" or "smaller" than XXX bytes (kb, mb)), but we have no "empty" concept.

May be there is need to implement something like that?

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests