search excluding saved search.
Moderators: Hacker, petermad, Stefan2, white
search excluding saved search.
I have a search looking on a selection of folder for file with extensions jpg i would like to exclude all thumb.jpg where the size is less than 100k.
I have a search called >thumb looking for file named thumb.jpg and size <100K
If i use *.jpg|>thumb this does not work and the same in CD do i miss something ?
I have a search called >thumb looking for file named thumb.jpg and size <100K
If i use *.jpg|>thumb this does not work and the same in CD do i miss something ?
Re: search excluding saved search.
Why would you think you can use saved searches in search expressions?nsp wrote: 2024-12-08, 09:13 UTC If i use *.jpg|>thumb this does not work and the same in CD do i miss something ?
Re: search excluding saved search.
This solution is simple and intuitively understandable. And the main thing - very expected.
And if its performance is missing in the current version of Total, it’s very sad.
This week I had a moment when I realized that my list of recent search queries
is a constantly growing string with negations of extensions that I didn’t need.
And in fact - I was constantly forced to prepend in the end another new emerging unnecessary expansion.
Instead of just ONCE, prepare/save the list of exceptions and use it in a simple and intuitive way.
And if its performance is missing in the current version of Total, it’s very sad.
This week I had a moment when I realized that my list of recent search queries
is a constantly growing string with negations of extensions that I didn’t need.
And in fact - I was constantly forced to prepend in the end another new emerging unnecessary expansion.
Instead of just ONCE, prepare/save the list of exceptions and use it in a simple and intuitive way.
#146217 personal license
Re: search excluding saved search.
Out of interest, I made a request in the Everything Forum:
Exclude one of several JPGs with SIZE less than 100 KiB
The following solutions work for me in Everything 1.5.0.1387a (x64):
Exclude one of several JPGs with SIZE less than 100 KiB
The following solutions work for me in Everything 1.5.0.1387a (x64):
Code: Select all
parent:D:\TMP ext:jpg !< exact:thumb.jpg size:<100KiB >
- OR -
D:\TMP\*.jpg !< exact:thumb.jpg size:<100KiB >
Code: Select all
ev:<parent:D:\TEMP\ | D:\TMP\> ext:jpg !< exact:thumb.jpg size:<100KiB >
Re: search excluding saved search.
@tuska the problem is that everything (ed:) is not supported when using search from a list of file/folder.
I'm searching in many folders 1..50 i select manually using a custom view.
I'm searching in many folders 1..50 i select manually using a custom view.
Re: search excluding saved search.
Unfortunately, it will remain that way in the future.nsp wrote: 2024-12-09, 04:53 UTC @tuska the problem is that everything (ed:) is not supported when using search from a list of file/folder.
void (Author) - 12.12.2024 wrote: includefilelist: will only work from the main Everything search box.
It is not allowed from external calls.
nsp wrote: 2024-12-09, 04:53 UTC I'm searching in many folders 1..50 i select manually using a custom view.
- D:\TMP\ListOfFolders_with_PATH.txt (..."selection of folder for file with extensions jpg"...)
cm_CopyNetNamesToClip -> Paste in ListOfFolders_with_PATH.txtFolder names that include a space do NOT need to be enclosed in quotation marks in this example!Code: Select all
D:\TEMP\ D:\TMP\TE MP\ D:\TMP\TEMP\ ; ATTENTION - Important: Do NOT create a blank line after this line by pressing <ENTER>!
- Mark the folders in the "ListOfFolders_with_PATH.txt" file and copy them to the clipboard using Ctrl + C.
- Open ‘Everything 1.5’ and paste the clipboard contents into the search box using Ctrl + V.
The search box now shows the following: "Grouping"Code: Select all
<D:\TEMP\|<D:\TMP\TE MP\>|D:\TMP\TEMP\>
- Add the following code to the search box at the end:
The COMPLETE SEARCH BOX now displays the following:
Code: Select all
ext:jpg !< exact:thumb.jpg size:<100KiB > sort:path:
Code: Select all
<D:\TEMP\|<D:\TMP\TE MP\>|D:\TMP\TEMP\> ext:jpg !< exact:thumb.jpg size:<100KiB > sort:path:
- Transferring search results from ‘Everything’ to Total Commander
- E.g. with a compiled AHK script
- Total Commander - Field "Search for": Max. number of characters: 2046
If the search query fits into the field (as in this example), then the following query is possible in Total Commander
using ‘Everything 1.5’:Code: Select all
ev:<D:\TEMP\|<D:\TMP\TE MP\>|D:\TMP\TEMP\> ext:jpg !< exact:thumb.jpg size:<100KiB > sort:path: ; sort:path: does not yet work in Total Commander using ‘Everything 1.5’.
D:\TMP\ListOfFolders.txt
Code: Select all
TEMP\
TE MP\
Code: Select all
d: <TEMP\|"TE MP\"> ext:jpg !< exact:thumb.jpg size:<100KiB > sort:path:
BUTTON - Add quotes around cm_CopyFullNamesToClip
Attention: Unfortunately, a line break is inserted after the last folder name!
Only the LINES WITH THE FOLDER NAMES may be marked and then pasted into the ‘Everything’ search box via the clipboard!
Only the LINES WITH THE FOLDER NAMES may be marked and then pasted into the ‘Everything’ search box via the clipboard!
Code: Select all
TOTALCMD#BAR#DATA
"%COMMANDER_PATH%\Skripte\Add quotes around cm_CopyFullNamesToClip.vbs"
%Z%WF
C:\WINDOWS\System32\WScript.exe,2
Add quotes around cm_CopyFullNamesToClip - %Z%WF (full names)|Copy the SELECTED NAMES in quotes in the presence of spaces|Parameters: %Z%WF (full names) either %Z%WL (full path)|https://ghisler.ch/board/viewtopic.php?t=75919
%COMMANDER_PATH%\Skripte\
0
-1
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2605) - 2024-12-10
TC 11.50RC2 x64/x86 | 'Everything' 1.5.0.1389a (x64)
Open Everything GUI results with TC LOADLIST - AutoHotkey (.AHK) SCRIPT and GUIDANCE, discussions
Transfer 'Everything' GUI results to Total Commander - STEP-BY-STEP GUIDE, summary
Tags: include-file-list:, ListOfFiles.txt, ListOfFilesWithPath.txt, ListOfFolders.txt, ListOfFolders_with_PATH.txt