wildcard with container-filenames
wildcard with container-filenames
Hello, how can I search for archives such as this ? container-filenames:"20180707_??????.mp4"
Re: wildcard with container-filenames
1.5.0.1358a:
multistring:wildcards:container-filenames:"20180707_??????.mp4"
1.5.0.1359a+ (next version):
container-filenames:"20180707_??????.mp4"
multistring:
wildcards:
multistring:wildcards:container-filenames:"20180707_??????.mp4"
1.5.0.1359a+ (next version):
container-filenames:"20180707_??????.mp4"
multistring:
wildcards:
Re: wildcard with container-filenames
Somehow this didn't produce any resultsvoid wrote: ↑Wed Oct 25, 2023 10:58 pm 1.5.0.1358a:
multistring:wildcards:container-filenames:"20180707_??????.mp4"
1.5.0.1359a+ (next version):
container-filenames:"20180707_??????.mp4"
multistring:
wildcards:
Re: wildcard with container-filenames
You will also need to match any paths.
Please try the following search:
multistring:wildcards:container-filenames:"**/20180707_??????.mp4"
-or-
nowholefilename:multistring:wildcards:container-filenames:"20180707_??????.mp4"
You won't need the **/ prefix in the next alpha update.
Please try the following search:
multistring:wildcards:container-filenames:"**/20180707_??????.mp4"
-or-
nowholefilename:multistring:wildcards:container-filenames:"20180707_??????.mp4"
You won't need the **/ prefix in the next alpha update.
Re: wildcard with container-filenames
Do you mean by checking Search --> Match Path ??
What does the **/ do ?
nowholefilename:multistring:wildcards:container-filenames:
this seems a bit complicated, I'm assuming this matches partial filenames that have the wildcard characters ?
Re: wildcard with container-filenames
No, the filenames inside containers are full paths and names.Do you mean by checking Search --> Match Path ??
For example:
folderA/folderB/20180707_012345.mp4
zip, 7z and others use / as a path separator.
Using a wildcard matches the whole filename (globbing)What does the **/ do ?
**/ Matches the path part.
For example:
Code: Select all
folderA/folderB/20180707_012345.mp4
\_____________/|\_______/\____/\__/
| | | | |
** /20180707_??????.mp4
Correct.I'm assuming this matches partial filenames that have the wildcard characters
You can use the nowholefilename: search modifier to match wildcards anywhere in the filename.
The next alpha update will do a "whole subpath" match when using wildcards with container-filename:
(The normal search uses "whole subpath" wildcards by default).
"whole subpath" wildcards will match the whole filename, then the next sub path, then the next sub path and so on.
For example:
20180707_??????.mp4 will first check against:
folderA/folderB/20180707_012345.mp4
then:
folderB/20180707_012345.mp4
and finally:
20180707_012345.mp4
This should give you the expected results with just a container-filenames:"20180707_??????.mp4" search.
Re: wildcard with container-filenames
Everything 1.5.0.1359a removes the need for multistring:
Everything will now automatically use multistring: on properties that have multiple values.
container-filename: is now flagged to accept filename wildcards.
The following will now work as expected:
container-filename:20180707_??????.mp4
Everything will now automatically use multistring: on properties that have multiple values.
container-filename: is now flagged to accept filename wildcards.
The following will now work as expected:
container-filename:20180707_??????.mp4