Hello everyone
I have a folder with several subfolders. Each subfolder have several image files (image1.jpg, image2.jpg ... imagex.jpg) and a info.txt file.
How to list all "image1.jpg" which same folder than matched info.txt files (matched with content: function)
Also i not want to list matched info.txt
Any idea ?
How to list file which same folder than matched files ?
-
- Posts: 8
- Joined: Sat Jun 03, 2023 8:36 am
Re: How to list file which same folder than matched files ?
Please try the sibling: search function in Everything 1.5.
sibling: will return files that are a sibling (share the same parent) of the specified filename.
For example:
*.jpg sibling:info.txt
sibling: will return files that are a sibling (share the same parent) of the specified filename.
For example:
*.jpg sibling:info.txt
-
- Posts: 8
- Joined: Sat Jun 03, 2023 8:36 am
Re: How to list file which same folder than matched files ?
sibling work with info.txt name but i don't know how use sibling with info.txt content
Is it possible to search from precedent matched result ?
exemple :
begin with 1000 files (.jpg and .txt)
|
| C: info.txt content:car
v
match 100 files (100 info.txt).
|
| image1.jpg sibling: ???
V
match image1.jpg which have for sibling 100 matched precedent info.txt
Is it possible to search from precedent matched result ?
exemple :
begin with 1000 files (.jpg and .txt)
|
| C: info.txt content:car
v
match 100 files (100 info.txt).
|
| image1.jpg sibling: ???
V
match image1.jpg which have for sibling 100 matched precedent info.txt
Re: How to list file which same folder than matched files ?
I don't have a way to do this in Everything yet.
There's includefilelist:"c:\some\folder\info.txt"
However, this only works on a single info.txt at a time..
include-filelist:
There's includefilelist:"c:\some\folder\info.txt"
However, this only works on a single info.txt at a time..
include-filelist:
Re: How to list file which same folder than matched files ?
Without knowing the details (what is the structure of info.txt, what encoding, etc) a direction for a possible solution.
(not tested on paths with spaces in it; not tetsted on non-ascii characters):
(not tested on paths with spaces in it; not tetsted on non-ascii characters):
Code: Select all
"c:\starting folder\" F:=stringcount(UPPER(get_property($path:\info.txt,content)),UPPER($name:)) $F:>0