I'm using CachyOS to manage a very large ROM library, and I want to remove games for languages I don't speak. The language codes are usually included in the filenames in parentheses, such as (es), (fr), or (de). Dolphin ignores the parentheses when searching, so searching for something like "(es)" returns any filename containing the letters "es". KFind does not seem to find anything either. FSearch can correctly distinguish these filenames, but because I installed it as a Flatpak, deleting a file results in a "trash portal failed" error. What is the best way to search for and remove these files?
1 Answer
A terminal-based `find` command is probably the most reliable option here. Once you identify the exact filename pattern, you can search for matching files and then delete or move them. It would help to see a few real filenames and the exact command or search pattern being used, since the punctuation and spacing matter.

I chose CachyOS partly because I’d rather avoid using the terminal for jobs like this. There are hundreds of files involved, across different file types, and the only consistent part is the language code in parentheses.