Show file info in Hierarchy

112 views
Skip to first unread message

Tom Carlson

unread,
Jun 19, 2014, 2:02:58 PM6/19/14
to bbe...@googlegroups.com
Hi,

This is my first time here, so I hope I am using the correct verbiage:

I have used BBEdit to create a hierarchical folder tree of the contents of a hard drive which I am archiving. I simply dragged the top level folder into the BBEdit window and the tree was created. From that point, I can copy and paste it into Excel for further tweaking and delivery. I am wondering now if there is a simple way to also list file info such as date created and size for the files in the same hierarchal list.

Thanks in advance for any help,

Tom Carlson

Fletcher Sandbeck

unread,
Jun 19, 2014, 3:34:40 PM6/19/14
to bbe...@googlegroups.com
You are probably better off getting the data in the Terminal.  Open a Terminal window and type:

ls -l | bbedit

That will do a listing of the current directory and pipe it to BBEdit.  Note that the character before “bbedit” is a vertical-bar and not a lowercase L.

[fletcher]


--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"sup...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.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 post to this group, send email to bbe...@googlegroups.com.

Message has been deleted

Tom Carlson

unread,
Jun 19, 2014, 4:33:22 PM6/19/14
to bbe...@googlegroups.com
Thank you Fletcher. I tried that but it didn't seem to work. Here is my command and the response:

Toms-MacBook-Pro:4 D2 Mix tomcarlson$ ls -l | bbedit

-bash: bbedit: command not found

Toms-MacBook-Pro:4 D2 Mix tomcarlson$ 


Am I typing something incorrectly here? By the way, this is my first time using the terminal as well, so I wouldn't be surprised if I'm messing up the syntax somehow...

Tom

Rich Siegel

unread,
Jun 19, 2014, 5:27:54 PM6/19/14
to bbe...@googlegroups.com
On Thursday, June 19, 2014, Tom Carlson <tomm...@me.com> wrote:

>Toms-MacBook-Pro:4 D2 Mix tomcarlson$ ls -l | bbedit
>
>-bash: bbedit: command not found

You will need to install the BBEdit command-line tools; see the
"Install Command Line Tools" command in the "BBEdit" menu. (For
App Store builds this will take you to a web page requiring a
separate download and installation process.)

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

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

Tom Carlson

unread,
Jun 19, 2014, 6:40:38 PM6/19/14
to bbe...@googlegroups.com

Aha! Thanks, Rich!

Charlie Garrison

unread,
Jun 19, 2014, 7:42:17 PM6/19/14
to bbe...@googlegroups.com
Good morning,

On 19/06/14 at 12:34 PM -0700, Fletcher Sandbeck
<flet...@cumuli.com> wrote:

>ls -l | bbedit

Or, since you want file hierarchy:

ls -lR | bbedit

You could also write a script to process the listing that BBEdit
creates to get the file stats, but try Fletcher's suggestion first.


Charlie

--
Charlie Garrison <garr...@zeta.org.au>
PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

Reply all
Reply to author
Forward
0 new messages