Hey All - Thanks to the suggestions everyone gave. On the off chance someone is looking for an even quicker solution. I've just discovered you can simply drag and drop your desired files into an edit window and it will paste all the contents in. Perhaps this may not be a solution for everyone but it works well for my application! Also in the off chacne you are copying/pasting into something like JSFiddle - you can drag and drop straight into that and it will paste the contents. Probably shouldve figured that one out sooner.
On Monday, October 31, 2022 at 2:55:54 PM UTC-5 Roland Küffner wrote: > Although a solution already has been given, I just wanted to add another > way. > > In BBEdit's Text menu you'll find "Run Unix Command…" > Just insert "cat - /path/to/your/folder/*" and it will insert all file > contents from that folder into your current text document. > > Regards > Roland > > On Fri, Oct 21, 2022 at 2:31 AM Tim A <[email protected]> wrote: > >> I tried this and found I needed to multiple individual files within a >> folder to accomplish the concatenation. > > Is there a way to just indicate the enclosing folder so all enclosed are >> concatenated? >> >> On Wednesday, October 19, 2022 at 3:59:23 PM UTC-7 Patrick Woolsey wrote: >> > I suggest you start by trying Edit -> Insert -> File Contents... to see if >>> that does what you need. >>> >>> >>> Regards, >>> >>> Patrick Woolsey >>> == >>> Bare Bones Software, Inc. <https://www.barebones.com/> >>> >>> >>> >>> > On Oct 19, 2022, at 18:32, a k <[email protected]> wrote: >>> > >>> > I have a bunch of .txt files with snippets of code in them that I need >>> to copy and paste into a single separate file. Is there a way to copy the >>> contents of multiple files at once with BBEDIT? >>> >>> >>> >>> -- >> This is the BBEdit Talk public discussion group. If you have a feature >> request or need technical support, please email "[email protected]" >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/bbedit/8a271191-3040-4944-a48f-8ecc1ce97c20n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/bbedit/8a271191-3040-4944-a48f-8ecc1ce97c20n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/3f392b05-ff4d-4731-925e-7440ea20ef8an%40googlegroups.com.
