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!
How to select/filter parent folders based on a specific contained filename?
-
AlexXY
- Posts: 43
- Joined: 11 Jul 2014 14:26
-
jupe
- Posts: 3569
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: How to select/filter parent folders based on a specific contained filename?
You can just put the filename in the Name field of the Find Files panel, followed by /p eg.
To put them in a PF all you need to do it click the Paperfolder button (or menu item) and select Toggle Paperfolder afterwards.
RECEIPTS.XLSX /pTo put them in a PF all you need to do it click the Paperfolder button (or menu item) and select Toggle Paperfolder afterwards.
-
AlexXY
- Posts: 43
- Joined: 11 Jul 2014 14:26
Re: How to select/filter parent folders based on a specific contained filename?
Great!! Very useful. Thanks very much!!
XYplorer Beta Club