Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Dec 2014, 21:00
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
tree 1.5.2.2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sat 10 Oct 2009, 18:20    Post_subject:  tree 1.5.2.2
Sub_title: recursive directory listing
 

http://mama.indstate.edu/users/ice/progs.html
http://mama.indstate.edu/users/ice/tree/

This is a nice little commandline tool to see what is in your directories.
Code:
# ls
tree-1.5.2.2  tree-1.5.2.2.pet  tree_DOC-1.5.2.2  tree_DOC-1.5.2.2.pet
# tree
.
|-- tree-1.5.2.2
|   `-- usr
|       `-- bin
|           `-- tree
|-- tree-1.5.2.2.pet
|-- tree_DOC-1.5.2.2
|   `-- usr
|       `-- man
|           `-- man1
|               `-- tree.1
`-- tree_DOC-1.5.2.2.pet

7 directories, 4 files

If you use the -C option, it will be in color like ls. You can add an alias to /etc/profile.local or ~/.bashrc to make that default behavior:
Code:
echo 'alias tree="tree -C"' >> ~/.bashrc




This was compiled by just running make with the Makefile that was included in the source package (the author did not include a ./configure script). I didn't alter anything.
tree-1.5.2.2.pet
Description 
pet

 Download 
Filename  tree-1.5.2.2.pet 
Filesize  16.28 KB 
Downloaded  984 Time(s) 
tree_DOC-1.5.2.2.pet
Description 
pet

 Download 
Filename  tree_DOC-1.5.2.2.pet 
Filesize  3.55 KB 
Downloaded  937 Time(s) 

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11180
Location: Arizona USA

PostPosted: Sat 10 Oct 2009, 23:17    Post_subject:  

What does the second (DOC) .pet do? When I installed it, it said there's no menu entry. I can't find it. What's it for?
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sun 11 Oct 2009, 14:30    Post_subject:  

DOC = documentation => man page.

If you look closely at my example above, the directories it's looking at are actually the expanded versions of the two packages, so that you can see exactly what is installed.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sat 04 Dec 2010, 05:10    Post_subject:  

It is like write something like this ???
Code:

ls -laR > list.txt
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11180
Location: Arizona USA

PostPosted: Sat 04 Dec 2010, 09:15    Post_subject:  

No, tree lists the directory contents like so.
Back to top
View user's profile Send_private_message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sun 05 Dec 2010, 04:11    Post_subject:  

oh, that's better... Very Happy
_________________

Back to top
View user's profile Send_private_message 
Pelo


Joined: 10 Sep 2011
Posts: 3452
Location: Mer méditerrannée (1 kms°)

PostPosted: Thu 05 Dec 2013, 05:29    Post_subject: Puppy 2.10PRO tree
Sub_title: Just a glance at ytree
 

Just a glance at ytree
ytree.jpg
 Description   
 Filesize   78.48 KB
 Viewed   406 Time(s)

ytree.jpg

Back to top
View user's profile Send_private_message YIM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0634s ][ Queries: 13 (0.0049s) ][ GZIP on ]