Searching file/folder names within compressed files

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Shooter3k
Posts: 12
Joined: Tue Sep 07, 2021 10:56 pm

Searching file/folder names within compressed files

Post by Shooter3k »

Is it possible to search for file/folder names within compressed files? I've read a bunch of threads about how that might exist in 1.5 but I haven't been able to find that option.
horst.epp
Posts: 1430
Joined: Fri Apr 04, 2014 3:24 pm

Re: Searching file/folder names within compressed files

Post by horst.epp »

This is not yet available
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching file/folder names within compressed files

Post by void »

zip-file-name:

For example:

*.zip zip-file-name:"Everything.exe"


Requires Everything 1.5.

Indexing properties in Everything 1.5.
(Add the container filenames property).
horst.epp
Posts: 1430
Joined: Fri Apr 04, 2014 3:24 pm

Re: Searching file/folder names within compressed files

Post by horst.epp »

I didn't know that this is available :o
Are other archive types like 7z or rar planned ?
How can I get the filenames inside of the supported archives (*.zip) indexed ?
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching file/folder names within compressed files

Post by void »

7z and rar support is planned.

The zip filenames can only be searched with the zip-file-name: search.
The zip filenames can only be shown with the Container filenames column.
Shooter3k
Posts: 12
Joined: Tue Sep 07, 2021 10:56 pm

Re: Searching file/folder names within compressed files

Post by Shooter3k »

Any updates to this feature request?

the ask: to be able to search for file/folder names that are found within compressed files
therube
Posts: 4879
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searching file/folder names within compressed files

Post by therube »

Any updates to this feature request?
In what respect, something other then ZIP?
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching file/folder names within compressed files

Post by void »

zip and rar are supported.

7z is still on my TODO list.

zipfilename:
File types known to Everything
anmac1789
Posts: 623
Joined: Mon Aug 24, 2020 1:16 pm

Re: Searching file/folder names within compressed files

Post by anmac1789 »

void wrote: Thu Jul 20, 2023 11:27 pm zip and rar are supported.

7z is still on my TODO list.

zipfilename:
File types known to Everything
No wonder i couldnt find 7z files when i know the file exists inside of it lol
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching file/folder names within compressed files

Post by void »

Everything 1.5.0.1353a adds 7z support for the container filenames and container file count properties.
anmac1789
Posts: 623
Joined: Mon Aug 24, 2020 1:16 pm

Re: Searching file/folder names within compressed files

Post by anmac1789 »

Does filename include finding folders as well or just files with an extension ? and also does this search for the "name" anywhere in the path inside archives or just at the end of the path ?
therube
Posts: 4879
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searching file/folder names within compressed files

Post by therube »

Looks like filename &/or directory name.

*.7z zip-file-name:"Everything.exe"

Code: Select all

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2023-08-03 13:16:47 ....A          379          209  everything.exe
------------------- ----- ------------ ------------  ------------------------
2023-08-03 13:16:47                379          209  1 files

Code: Select all

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2023-08-03 13:18:18 D....            0            0  m m
2023-08-03 13:18:26 D....            0            0  m m\everything.exe
2023-08-03 13:18:26 ....A            0            0  m m\everything.exe\hi there you swine.TXT
2023-08-03 13:17:08 ....A          347          503  000.7z
2023-07-18 12:03:44 ....A          324               m m\xxx
------------------- ----- ------------ ------------  ------------------------
And anywhere.

Code: Select all

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2023-08-03 13:22:28 ....A          544          253  abcdefg.everything.exe.123456789
------------------- ----- ------------ ------------  ------------------------
2023-08-03 13:22:28                544          253  1 files
anmac1789
Posts: 623
Joined: Mon Aug 24, 2020 1:16 pm

Re: Searching file/folder names within compressed files

Post by anmac1789 »

How do you get this kind of detailed output ?
therube
Posts: 4879
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searching file/folder names within compressed files

Post by therube »

7-zip - command line,
7z.exe (7za.exe) l archive.7z
(though, on my end, I call it 777.exe).
(Virtually) all archivers support 'l'.

Code: Select all

l : List contents of archive (7-zip)
l: List contents of archive  (ARJ)
-l  list files (short format) (unzip)
l[t[a],b]     List archive contents [technical[all], bare] (rar) ...

(I have no idea what the 7-zip GUI may show.)
anmac1789
Posts: 623
Joined: Mon Aug 24, 2020 1:16 pm

Re: Searching file/folder names within compressed files

Post by anmac1789 »

therube wrote: Thu Aug 03, 2023 6:51 pm 7-zip - command line,
7z.exe (7za.exe) l archive.7z
(though, on my end, I call it 777.exe).
(Virtually) all archivers support 'l'.

Code: Select all

l : List contents of archive (7-zip)
l: List contents of archive  (ARJ)
-l  list files (short format) (unzip)
l[t[a],b]     List archive contents [technical[all], bare] (rar) ...

(I have no idea what the 7-zip GUI may show.)
Thank you for this
Shooter3k
Posts: 12
Joined: Tue Sep 07, 2021 10:56 pm

Re: Searching file/folder names within compressed files

Post by Shooter3k »

void wrote: Thu Jul 20, 2023 11:27 pm zip and rar are supported.

7z is still on my TODO list.

zipfilename:
File types known to Everything
If I'm understanding what you're saying correctly, using one of these filters searches the contents (in real time) of these file types, is that correct?

container-file-name:
container-file-names:
rar-file-name:
rar-file-names:
zip-file-name:
zip-file-names:
7z-file-name:
7z-file-names:


If so, is there a way to allow Everything to index these file types, before hand, and keep that in it's running searchable index?
anmac1789
Posts: 623
Joined: Mon Aug 24, 2020 1:16 pm

Re: Searching file/folder names within compressed files

Post by anmac1789 »

Shooter3k wrote: Tue Sep 03, 2024 4:46 pm
void wrote: Thu Jul 20, 2023 11:27 pm zip and rar are supported.

7z is still on my TODO list.

zipfilename:
File types known to Everything
If I'm understanding what you're saying correctly, using one of these filters searches the contents (in real time) of these file types, is that correct?

container-file-name:
container-file-names:
I know I can use these specifically, I use container-file-names: for multiple filename
Shooter3k wrote: Tue Sep 03, 2024 4:46 pm rar-file-name:
rar-file-names:
zip-file-name:
zip-file-names:
7z-file-name:
7z-file-names:

I have not tried this because usually I search all archive types -- .7z, .zip, .rar
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching file/folder names within compressed files

Post by void »

container-file-name:
container-file-names:
rar-file-name:
rar-file-names:
zip-file-name:
zip-file-names:
7z-file-name:
7z-file-names:
These are all aliases.

Index the "Container Filenames" property if you would like instant searching.

container-filenames
Shooter3k
Posts: 12
Joined: Tue Sep 07, 2021 10:56 pm

Re: Searching file/folder names within compressed files

Post by Shooter3k »

void wrote: Tue Sep 03, 2024 10:58 pm
container-file-name:
container-file-names:
rar-file-name:
rar-file-names:
zip-file-name:
zip-file-names:
7z-file-name:
7z-file-names:
These are all aliases.

Index the "Container Filenames" property if you would like instant searching.

container-filenames
I'm assuming you meant "container-file-names" correct?

Pardon my ignorance here, but I'm not seeing any option to index the container-file-names automatically anywhere in the Everything 'Index' settings. How/Where do I enable this option?
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching file/folder names within compressed files

Post by void »

Everything ignores the dashes (-)

container-file-names: is the same as container-filenames:



You will need Everything 1.5 to index container filenames.
Indexing properties.
Post Reply