Relevant chunk of code:
Code: Select all
$tagFiles = quicksearch("folder.tags /f", , , "s");
// Only process files where "folder.tags" itself is not part of the file name
$tagFiles = regexmatches($tagFiles, "^.+\\folder\.tags$", <crlf>);
end (!$tagFiles), "No folder.tags file(s) found, aborted!";