On Monday, January 10, 2011, mcylinder <[email protected]> wrote:

I needed to quickly set up a new project in BBedit that reflected a
folder's complete directory structure. I wrote this and ran it inside
the directory as the file index_bb.php. It outputs an applescript that
I then run with an empty project window open in BBEdit. It creates all
of the folders/sub-folders and then all of the shortcuts to the files.
Hope it's handy for someone.

That's very clever. :-) A couple of tips that may save you some time and/or effort:

From the command line:

bbedit --project . # makes a project with $CWD and the files in it
    bbedit --project /path/to/some/project /path/to/some/file ...
# makes a project with the specified files and folders

Also, dropping a folder on to BBEdit (or using the Open dialog to choose a folder) will create a project with the chosen folder.

Enjoy,

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

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

--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to