Page 1 of 1

How to select/filter parent folders based on a specific contained filename?

Posted: 09 Oct 2026 05:00
by AlexXY
I have a large number of folders, some of which contain a specific file (for example, RECEIPTS.XLSX).
I want to find a way to automatically select or filter only the parent folders that contain this specific filename so that I can easily copy or move those folders to a new location.

What is the best way to achieve this in XYplorer?
• Can this be done natively via Find Files (e.g., using the Location or Script tabs)?
• Is there a specific XYplorer script (xys) that can mark or select these folders in the current list view?
• Can I output these matching folders to a Paper Folder for easy management?

Any help or script snippets would be greatly appreciated!

Re: How to select/filter parent folders based on a specific contained filename?

Posted: 09 Oct 2026 05:18
by jupe
You can just put the filename in the Name field of the Find Files panel, followed by /p eg.

RECEIPTS.XLSX /p

To put them in a PF all you need to do it click the Paperfolder button (or menu item) and select Toggle Paperfolder afterwards.

Re: How to select/filter parent folders based on a specific contained filename?

Posted: 09 Oct 2026 19:40
by AlexXY
Great!! Very useful. Thanks very much!!