Page 1 of 1
Search list of files
Posted: 03 Jun 2015 23:45
by JohnMullins
Hello,
Is it possible to search for a list of files with XYplorers file search function? So for example I want to find in a huge folder including its subfolders find the files with the names "test1", "name", "xyz" etc?
Re: Search list of files
Posted: 03 Jun 2015 23:59
by highend
Just chain them with a semicolon in between, e.g.
test1;name;xyz
[x] Include subfolders in the Name & Location tab must be checked, too.
Re: Search list of files
Posted: 04 Jun 2015 00:56
by JohnMullins
Cool, that worked. Thanks!
Re: Search list of files
Posted: 04 Jun 2015 03:12
by kunkel321
Huh. Highend you helped me solve the same problem with a script here:
www.xyplorer.com/xyfc/viewtopic.php?f=7&t=13973
I suppose that using semicolons is better though... Same effect, but you don't have to specify "boolean."
Re: Search list of files
Posted: 04 Jun 2015 09:08
by highend
I suppose that using semicolons is better though... Same effect, but you don't have to specify "boolean."
Wouldn't say they're better. They are just easier for JohnMullins. Boolean searches are more powerful. And you don't have to specify "boolean" for each search (regarding the script).
Just replace the first line with:
Code: Select all
copytext replace(formatlist(":<clipboard>", "e", "<crlf>"), "<crlf>", " OR ");
It prepends a ":" which automatically converts the normal search into a boolean one (so just select normal, not boolean^^).