Running a Text Filter on a directory

36 views
Skip to first unread message

Christopher Finazzo

unread,
Jun 19, 2025, 10:55:11 AMJun 19
to BBEdit Talk
Is it possible to run a filter on directory or does this require using a Text Factory? At first glance, this looks like it should work, but that could just be Claude hallucinating.

find /path/to/directory -name "*.txt" -exec bbedit --apply-text-filter "Filter Name" {} \;

Patrick Woolsey

unread,
Jun 19, 2025, 11:22:43 AMJun 19
to bbe...@googlegroups.com
For reference:

========

Text Filters [page 40]

The Text Filters folder contains executable items, such as compiled AppleScripts, Automator workflows,
text factories, and Unix filters, which you may ** apply to the frontmost document ** via the
Apply Text Filter command in the Text menu.

========

Please also note that 'man bbedit' contains no reference to `--apply-text-filter` :-)


Regards,

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