Page 1 of 1
How find all foldres / subfolders NOT containing given file ( eg folder.jp?g)
Posted: 07 Sep 2021 13:58
by piverto
Hi to all
I need to find all foldres / subfolders NOT containing given file ( eg folder.jp?g)
How can I achieve this ? I am totally new to XYplorer and scripting !
TIA to experts here !
Re: How find all foldres / subfolders NOT containing given file ( eg folder.jp?g)
Posted: 07 Sep 2021 14:07
by highend
Append a /x switch to your search pattern, e.g. *.jp*g /x
Re: How find all foldres / subfolders NOT containing given file ( eg folder.jp?g)
Posted: 07 Sep 2021 14:10
by Horst
The XY gurus will tell you how to do that with native XY.
With the Everything script from Highend its a simple query
to get all folders without a folder.jpg into a Paper folder.
your_start_path folder: !child:folder.jpg
Re: How find all foldres / subfolders NOT containing given file ( eg folder.jp?g)
Posted: 22 Jan 2023 12:08
by piverto
And how to find all folders
- containing either .doc OR .txt files
- but NOT containing .wav files
Is this possible ?
TIA to all experts here !
Re: How find all foldres / subfolders NOT containing given file ( eg folder.jp?g)
Posted: 22 Jan 2023 13:11
by Horst
This Everything version 1.5 search should work
folder: child:<*.doc;*.txt> !child:*.wav
Re: How find all foldres / subfolders NOT containing given file ( eg folder.jp?g)
Posted: 22 Jan 2023 13:25
by Norn
For quicksearch:
Code: Select all
prop:#contains.*.txt:1 and !prop:#contains.*.wav:1 or prop:#contains.*.doc:1 and !prop:#contains.*.wav:1
So long. . .