Filter (list only) folders that contain a specific file type?
-
Megalith
- Posts: 87
- Joined: 24 Jan 2015 16:53
Filter (list only) folders that contain a specific file type?
Can the visual filter be configured to list only folders that contain a specific file type, like PDFs?
-
highend
- Posts: 15004
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Filter (list only) folders that contain a specific file type?
Afaik no,
but you could use a script that shows these (subfolders of the current path!) folders
in a paperfolder...
but you could use a script that shows these (subfolders of the current path!) folders
in a paperfolder...
Code: Select all
$matches = quicksearch("*.pdf /f /maxdepth=1 /limitperdir=1");
paperfolder("PDF", regexreplace($matches, "\\[^\\]+(\r?\n|$)", <crlf>));
One of my scripts helped you out? Please donate via Paypal
-
Megalith
- Posts: 87
- Joined: 24 Jan 2015 16:53
Re: Filter (list only) folders that contain a specific file type?
Thanks, but your script doesn't seem to do anything other than bring up a popup menu with those two lines of code. Maybe I'm doing it wrong...
-
highend
- Posts: 15004
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Filter (list only) folders that contain a specific file type?
Indent both lines by at least one space (they were posted with 4)
One of my scripts helped you out? Please donate via Paypal
-
Megalith
- Posts: 87
- Joined: 24 Jan 2015 16:53
Re: Filter (list only) folders that contain a specific file type?
Awesome, thank you.
XYplorer Beta Club