Find all folders NOT containing *fr?.jpg files

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
piverto
Posts: 9
Joined: 07 Sep 2021 13:55

Find all folders NOT containing *fr?.jpg files

Post by piverto »

Hello,

I cannot manage this

Very numerous folders, and sometines no jpg file with filename containing the string fr in the filename.
I need to correct this for management of my collection. Manually it is almost impossible.

Thanks in advance !!

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Find all folders NOT containing *fr?.jpg files

Post by highend »

>^.*fr.\.jpg /x
2026-04-11_13-50-20.png
You do not have the required permissions to view the files attached to this post.
One of my scripts helped you out? Please donate via Paypal

piverto
Posts: 9
Joined: 07 Sep 2021 13:55

Re: Find all folders NOT containing *fr?.jpg files

Post by piverto »

Thanks a lot for your answer.

I have typed that in the search window, and as result I get ALL my folders ( exactly same number that I get when in windows explorer selecting them all)

Attached screenshot of my XYplorer

Am I doing someting wrong ?

TIA
Capture1.jpg
You do not have the required permissions to view the files attached to this post.

piverto
Posts: 9
Joined: 07 Sep 2021 13:55

Re: Find all folders NOT containing *fr?.jpg files

Post by piverto »

Oh

Looking at my post I see I have inserted a space between *fr. and the \ ...

I just tried after having deleted it and now find 'only' 3239 folders ....


That is still a lot, and contains 'root' folders in my system.

Is there a way to add a selection criterium by finding all folders as you showed me BUT THAT contain wav files ?

TIA so much

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Find all folders NOT containing *fr?.jpg files

Post by highend »

Am I doing someting wrong ?
You've entered the pattern wrong...
Is there a way to add a selection criterium by finding all folders as you showed me BUT THAT contain wav files ?
*.wav /p
should work (can't try atm)
One of my scripts helped you out? Please donate via Paypal

piverto
Posts: 9
Joined: 07 Sep 2021 13:55

Re: Find all folders NOT containing *fr?.jpg files

Post by piverto »

Hi, thanks

But to get in one run all folders not containing *fr.jpg AND containing a wav file ?
How di I combine these two criteria please

I have tried toi simply add it to the end of previous search, but that didn't work

>^.*fr.\jpg /x *.wav /p

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Find all folders NOT containing *fr?.jpg files

Post by jupe »

Here is one way I think should do it, untested though:

:prop:#contains.*fr?.jpg:0 AND prop:#contains.*.wav:1 /d

piverto
Posts: 9
Joined: 07 Sep 2021 13:55

Re: Find all folders NOT containing *fr?.jpg files

Post by piverto »

Hi,

super !
Your last suggestion works perfectly ! :appl:

:prop:#contains.*fr?.jpg:0 AND prop:#contains.*.wav:1 /d

I have just added a ? after the fr in the filename, since some end with fr, others withh fr0 or fr1.

Last question if I do not abuse : how can I select all folders that contain CD in their name ( ie CD1, CD2, CD3 etc) ;)

Cordially
Thank you so much. You greatly helped me.

Where can I fin a refernce and examples of the 'langage' you use to do these searches ? :roll:

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Find all folders NOT containing *fr?.jpg files

Post by highend »

>cd\d+

Execute this from the address bar:
rtfm "idh_find.htm";
One of my scripts helped you out? Please donate via Paypal

piverto
Posts: 9
Joined: 07 Sep 2021 13:55

Re: Find all folders NOT containing *fr?.jpg files

Post by piverto »

Hi,

thanks for th eanswers. It works

Except for the : rtfm "idh_find.htm";

I get a message scripting not available in home edition .... and I have the home edition lifetime.... registered of course
except enterprise versions I do not find another XYPlorer version. Do I miss something there ?

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Find all folders NOT containing *fr?.jpg files

Post by highend »

Then open the .chm file and read:
Main Topics - Quick Search
Main Topics - Info Panel - Find Files Tab
One of my scripts helped you out? Please donate via Paypal

piverto
Posts: 9
Joined: 07 Sep 2021 13:55

Re: Find all folders NOT containing *fr?.jpg files

Post by piverto »

:idea: thanks !

Post Reply