Author |
Message |
Pizzasgood

Joined: 04 May 2005 Posts: 6266 Location: Knoxville, TN, USA
|
Posted: Sat 10 Oct 2009, 18:20 Post subject:
tree 1.5.2.2 Subject description: 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.
Description |
|

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

Download |
Filename |
tree_DOC-1.5.2.2.pet |
Filesize |
3.55 KB |
Downloaded |
1265 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
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12820 Location: Arizona USA
|
Posted: 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
|
|
 |
Pizzasgood

Joined: 04 May 2005 Posts: 6266 Location: Knoxville, TN, USA
|
Posted: 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
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 894 Location: .ar
|
Posted: Sat 04 Dec 2010, 05:10 Post subject:
|
|
It is like write something like this ???
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12820 Location: Arizona USA
|
Posted: Sat 04 Dec 2010, 09:15 Post subject:
|
|
No, tree lists the directory contents like so.
|
Back to top
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 894 Location: .ar
|
Posted: Sun 05 Dec 2010, 04:11 Post subject:
|
|
oh, that's better...
_________________

|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Thu 05 Dec 2013, 05:29 Post subject:
tree 1.5.2.2 |
|
Installed on Slaxen 6.3.2, for test
-- SlaxenHiv
| |-- boot.catalog
| |-- efi.img
| |-- fix-usb.sh
| |-- grub.cfg
| |-- help
| | |-- help.msg
| | `-- help2.msg
| |-- initrd.gz
| |-- isolinux.bin
| |-- isolinux.cfg
| |-- libfreshwrapper-flashplayer.so
| |-- libpepflashplayer.so
| |-- slaxen.png
| |-- slaxensave-MusicBazaar.2fs
| |-- slaxensave-getpak.2fs
| |-- toutou_slaxen_6.3.2
| |-- toutou_slaxen_6.3.2.sfs
| |-- vesamenu.c32
| |-- vmlinuz
| `-- zdrv_slaxen_6.3.2.sfs
|
Back to top
|
|
 |
|