! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Allow for filtering the files displayed by thunar using patterns
Status:
RESOLVED: DUPLICATE
Severity:
enhancement

Comments

Description Tassilo Horn 2011-04-20 13:02:31 CEST
It would be handy if thunar allowed for restricting the displayed files to those matching either a globbing pattern or a regular expression.  For example, I have a folder with hundreds of (generated) files like

  foo.x
  foo.y
  foo.z
  foo.pdf
  foo2.x
  foo2.y
  foo2.z
  foo2.pdf
  ...

Right now, I'm only interested in the PDF files.  So I'd like to restrict the view to the glob pattern "*.pdf" or the regular expression "\.pdf$".

This feature request is probably very related to #7514.
Comment 1 Nick Schermer editbugs 2011-04-21 09:10:25 CEST
Already available.
Comment 2 Tassilo Horn 2011-04-22 09:06:22 CEST
Could you please elaborate?  Is it available in the current git master, or is it a hidden feature with no menu entry?  Or am I only too blind to find it?
Comment 3 Jannis Pohlmann editbugs 2011-04-22 10:00:25 CEST
What he means is that you can use Ctrl+S to select files that match a certain pattern. But you cannot filter the displayed files. That's something we could implement in the future, probably in combination with a global search feature (e.g. based on Tracker).
Comment 4 Tassilo Horn 2011-04-22 10:48:35 CEST
Ok, I understand.  Well, my use-case is that I generate tons of files into some directory (graphs, xml, and visualization PDFs).  Now I want to check some PDFs, but of course I don't want to select all 300 of them and fire up 300 evince instances.

With respect to a global search: I'm not completely sure how that relates to my wishlist item.  Basically, what I was thinking of is more or less an enhanced variant of "Show hidden files", aka "Show only files matching the given pattern".  Clearly, "[X] Show hidden files" corresponds to ".*" with the more general facility, and "[ ] Show hidden files" corresponds to "^[^.].*".
Comment 5 Jannis Pohlmann editbugs 2011-04-22 18:05:39 CEST
(In reply to comment #4)
> With respect to a global search: I'm not completely sure how that relates to my
> wishlist item.

Well, UI-wise it kinda does.
Comment 6 denis.prost 2011-06-22 10:39:11 CEST
I second this feature request. I too have directories with a lot of files, and the quickest way to find the one I search, when I don't remember exactly its name, is to restrict the view to the files matching a given pattern : sometimes I have to open a rox-filer window, just to perform that filtering, it would be great if thunar implemented it.
Comment 7 Mike Massonnet editbugs 2011-10-15 21:01:48 CEST

*** This bug has been marked as a duplicate of bug 2316 ***

Bug #7515

Reported by:
Tassilo Horn
Reported on: 2011-04-20
Last modified on: 2011-10-15

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Attachments

Additional information