Multi-File Search - I don't get the Filter to work!

148 views
Skip to first unread message

Rainer Krug

unread,
Nov 20, 2020, 8:08:42 AM11/20/20
to BBEdit Talk
Hi

I have a folder Project in which I have multiple R projects, each containing a folder called `R` and in these folders called `R` are files with the extension `.R`.

In this folder Project are numerous other large folders with many other files.

I have selected Search in Recent Folders the Project folder.

Now I want to search in only the files with the extension `.R`, which would be nearly identical to only searching in the files in the folders `R`.

I tried using 

Name Extension Is .R
Name extension Is \\.R
Name Ends with R
Parent folder name Is R
Path Ends with R

and probably others as well in the File filter as well as the Folder filter - but none is opal searching in the `.R` files or only in the `R` directories.

I am at a loss - what am I missing here?

Rich Siegel

unread,
Nov 20, 2020, 8:18:09 AM11/20/20
to BBEdit Talk
On 20 Nov 2020, at 4:46, Rainer Krug wrote:

> Hi
>
> I have a folder Project in which I have multiple R projects, each
> containing a folder called `R` and in these folders called `R` are
> files
> with the extension `.R`.

File name extensions don't include the period, so:

> Name Extension Is .R

will not work. This should:

Name Extension Is R

Also, file filters literally filter *files*, they do not examine
folders. Your best bet here is to filter on the file's path:

Path Contains /R/

R.

--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

Rainer Krug

unread,
Nov 20, 2020, 8:29:03 AM11/20/20
to BBEdit Talk
On Friday, November 20, 2020 at 2:18:09 PM UTC+1 sie...@barebones.com wrote:
On 20 Nov 2020, at 4:46, Rainer Krug wrote:

> Hi
>
> I have a folder Project in which I have multiple R projects, each
> containing a folder called `R` and in these folders called `R` are
> files
> with the extension `.R`.

File name extensions don't include the period, so:

> Name Extension Is .R

will not work. This should:

Name Extension Is R


OK - I tried this - it also shows me results in .R files, but also in e.g. css  and .txt files.
So this does not work.
 


Also, file filters literally filter *files*, they do not examine
folders. Your best bet here is to filter on the file's path:

Path Contains /R/

This one does  not show me anything. Also trying R does not help or \R\ or \\R\\. And it also looks in a jar file which is not in a directory called R.

It also does not work when I put it into the Folder Filter.

So something strange is going on here.

BBEdit version: version 13.5.2 (415056, 64-bit Intel, sandboxed)

Patrick Woolsey

unread,
Nov 20, 2020, 3:52:55 PM11/20/20
to bbe...@googlegroups.com
If I may suggest, this sounds like a matter of
situation-specific configuration which would be better reviewed
with tech support than here in the discussion group. :-)

Regards

Patrick Woolsey
==
Bare Bones Software, Inc. <https://www.barebones.com/>
Reply all
Reply to author
Forward
0 new messages