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 38 39 40
|
* NcdT -- directory tree printer with extended capabilities
* (C) 1999-2001 by Pawel Wiecek <coven@vmh.net>
* See Copying file for licence.
Usage:
ncdt [options] [directory [name]]
If directory is omitted, . (current directory) is assumed. Name changes name
used for root directory of the tree. If omitted the value of directory is
used.
Valid options:
--dirs, -d - print only directories, omit files
--bitrate, -b - print bitrate info for directories
--prefix - prepend listing with prefix
--help, -? - display this information
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>
|