Is there any way to search for zero size files inside archives?
Something like container-file-size: ?
Search for zero size files inside archives
Re: Search for zero size files inside archives
No, there are no features that support this.
Re: Search for zero size files inside archives
(Outside of Everything...)
If you had a listing of "ZIP" file contents, you could search for specific values in specific fields.
So if you have a listing of a file named 'out' that contained:
7-zip.exe l *.ZIP
You could do something like:
awk.exe "$4 == 0" out*
Which says to search all files named out*, where the fourth column (Size, as output by 7-zip) is 0.
(Now, that's very basic, & using UNIX commands in DOS can be awkward .)
If you had a listing of "ZIP" file contents, you could search for specific values in specific fields.
So if you have a listing of a file named 'out' that contained:
7-zip.exe l *.ZIP
Code: Select all
7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
Scanning the drive for archives:
1 file, 1207592 bytes (1180 KiB)
Listing archive: X2-100322.ARJ
--
Path = X2-100322.ARJ
Type = Arj
Physical Size = 1207592
Name = X2.ARJ
Created = 2022-10-03 09:34:12
Modified = 2022-10-03 09:34:12
Host OS = 11
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2022-10-03 07:57:58 ..... 0 1207472 X2.txt
------------------- ----- ------------ ------------ ------------------------
2022-10-03 07:57:58 3027495 1207472 1 files
awk.exe "$4 == 0" out*
Which says to search all files named out*, where the fourth column (Size, as output by 7-zip) is 0.
(Now, that's very basic, & using UNIX commands in DOS can be awkward .)