as a new and happy Lifetime Pro License owner, I want to learn more about working with XY.
I have a NAS folder containing many (256) movies, and in some folders there is, besides the movie.mkv file, also a picture file named "cover".
Now I want to find all folders that do not contain this cover file.
I tried it with F3 and with Ctrl+F, but in both cases I only find the cover* files, not the folders without them.
My scripting skills are very bad limited, and I asked ChatGPT — but the script it suggested doesn’t seem to work.
Code: Select all
// Alle Unterordner ohne cover*.* auflisten
$list = "";
foreach($folder, <getfolders <curpath>>, , "r") {
if (exists("$folder\cover*") == 0) {
$list = "$list$folder|";
}
}
text $list;
XYplorer Beta Club