1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
* NcdT -- directory tree printer with extended capabilities
* (C) 1999 by Pawel Wiecek <coven@vmh.net>
* See Copying file for licence.
Usage:
ncdt - shows directory tree rooted on current
directory (.)
ncdt <directory> - shows directory tree rooted on <directory>
ncdt <directory> <name> - shows directory tree rooted on <directory>
using <name> for root name (instead of
default <directory>)
ncdt --help - displays short help
NcdT is a small utility for printing directory trees.
One might ask why have I written another directory tree utility if there's
tree in every Unix.
Well, standard tree is nice and has some features NcdT doesn't have, but on
the other hand it was missing some nice ones I needed. So I wrote this tiny
utility.
Additional capabilities not found in standard tree are:
- size field for directories displays the summary size of directory
subtree instead of the size of the special file (which is somewhat more
useful)
- sizes are displayed in a more readable format (that's a minor improvement,
but it helps a little)
- MP3 files are detected; additional info is displayed for them (which is
probably the nicest thing about NcdT)
I use it for the purpose of indexing my CDs.
Pawel Wiecek
<coven@vmh.net>
|