Find all files not containing ...

35 views
Skip to first unread message

Neil Faiman

unread,
May 5, 2026, 11:21:50 AMMay 5
to BBEdit Talk Mailing List
I can get a list of all the files in a project that contain a pattern by doing a multi-file search, Select all in search results window, copy and paste into a new document.

But suppose I want a list of all files that don’t contain a pattern? (I guess I can get a list off all the files, get a list of all the files that do contain the pattern, and then diff them, but is there anything more direct?

Thanks,
Neil Faiman

Bruce Van Allen

unread,
May 5, 2026, 11:28:50 AMMay 5
to bbe...@googlegroups.com
In Multi-File Search you can define files to exclude from searches. Would that do it?

— Bruce

_bruce__van_allen__santa_cruz_ca_
> --
> This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
> ---
> You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/bbedit/CEC7E29B-8FFB-4295-AD4B-F56E95DFABF2%40faiman.org.

Rich Siegel

unread,
May 5, 2026, 11:45:07 AMMay 5
to BBEdit Talk Mailing List
On 5 May 2026, at 11:21, Neil Faiman wrote:

> I can get a list of all the files in a project that contain a pattern by doing a multi-file search, Select all in search results window, copy and paste into a new document.
>
> But suppose I want a list of all files that don’t contain a pattern? (I guess I can get a list off all the files, get a list of all the files that do contain the pattern, and then diff them, but is there anything more direct?

The "Exclude matches" option does exactly this.

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.

Neil Faiman

unread,
May 5, 2026, 3:46:01 PMMay 5
to BBEdit Talk Mailing List
Bruce and Rich,

Thank you for pointing out what was right under my nose.

Neil
> --
> This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
> ---
> You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/bbedit/B40CFEB3-197F-457F-AFAD-1D4B2E398BE4%40barebones.com.

Reply all
Reply to author
Forward
0 new messages