Summary of the issue you are facing:
I installed the Memories and Recognize applications a few months/years ago.
When I search for files/directories using the generic file search, I get a directory containing a single token.txt file in a path beginning with .com.nkming.nc_photos.
I understand that these are metadata files from an application, but they should not appear to my users.
I want to remove these search results for my users.
There is surely a parameter in Nextcloud to ignore these files and/or change the path for Memories/Recognize to avoid this behavior.
Could you help ?
The Basics
Operating system: Linux 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64
Webserver: Apache (fpm-fcgi)
Database: mysql 10.11.11
PHP version: 8.2.28
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, exif, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache
Nextcloud version: 30.0.11 - 30.0.11.1
Updated from an older Nextcloud: