command line open multiple files in same new window

131 views
Skip to first unread message

jjon

unread,
Feb 25, 2022, 3:03:30 PM2/25/22
to BBEdit Talk
`bbedit *.py` opens all the ".py" files in the current directory in the front window. That's great.

`bbedit *.py --new-window` opens each ".py" file in its own new separate window

But, what if I want to open all the ".py" files in the current directory _together_ in their own new window?

Maarten Sneep

unread,
Feb 26, 2022, 3:41:31 PM2/26/22
to bbe...@googlegroups.com
Hi,

Open de directory as an ad-hoc project:

bbedit .

Best,

Maarten

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/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 on the web visit https://groups.google.com/d/msgid/bbedit/71400b41-3122-4996-b9ae-92a65625caf1n%40googlegroups.com.

jjon

unread,
Feb 26, 2022, 5:10:32 PM2/26/22
to BBEdit Talk
Thank you Maarten, That's very handy, and I had not yet tried it. But, I wish I could also be more selective.

Rich Siegel

unread,
Feb 26, 2022, 5:11:42 PM2/26/22
to BBEdit Talk
On 25 Feb 2022, at 15:01, jjon wrote:

> `bbedit *.py` opens all the ".py" files in the current directory in the
> front window. That's great.
>
> `bbedit *.py --new-window` opens each ".py" file in its own new separate
> window

I think this is due to a bug that's been fixed for the next update. Try using "Early Access" in the Application preferences to get the current 14.1.1 beta, and if you continue to have problems please write to Tech Support (as usual).

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.

jjon

unread,
Feb 27, 2022, 5:49:55 PM2/27/22
to BBEdit Talk
Thanks Rich! That did the trick. The glob identified files are now opened together in their own window. ```bbedit --new-window *.py```
Neat!
J.
Reply all
Reply to author
Forward
0 new messages