EnglishFrenchSpanish

OnWorks favicon

ncdt - Online in the Cloud

Run ncdt in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ncdt that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ncdt - directory tree printer with extended capabilities

SYNOPSIS


ncdt [-db?] [--dirs] [--bitrate] [--prefix text ] [--help] [ directory [ name ]]

DESCRIPTION


ncdt is a small utility for printing directory trees. It has some additional features not
found in tree(1). Additional capabilities 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) The info is displayed in a compact form, like <2:53
v168JR+> where 2:53 is play time, v (if present) means the file is encoded using
VBR, 168 is bitrate (average bitrate for VBR files), J describes channel encoding
(Mono, Stereo, Joint-Stereo, Dual channel), R (if present) means the file has a
RIFF header at the beginning, + (if present) means the file has ID3v2 tag attached
- (if present) means there's no ID3 tag at all (none of these means there's only
ID3v1 tag present).

NcdT is particularily nice for indexing CDs.

OPTIONS


-d --dirs
Print only directories, omit files. This mode is a rough equivalent of du(1).

-b --bitrate
Print bitrate info for directories. Bitrates are displayed both for ordinary files
and directories. If all MP3 files in a given directory subtree have the same
bitrate only one number is printed, if they have various bitrates the range is
printed.

--prefix text
Prefix listing with given text. This option is not intended for general use. It
might be used by programs using NcdT to index CDsor doing similar operations to
record additional information.

-? --help
Display usage summary.

USAGE


When called without any parameters ncdt displays directory tree for current directory (.).

When called with one parameter ncdt displays directory tree for specified directory.

When called with two parameters ncdt displays directory tree for the directory specified
as its first parameter. Second parameter is used as directory label for the top level
directory (instead of directory name from parameter 1).

EXAMPLES


ncdt prints directory tree for the current directory. It will be labeled .

ncdt /usr
prints directory tree of /usr. It will be labeled /usr

ncdt /cdrom 'CD #21'
prints directory tree of /cdrom. It will be labeled CD #21

ncdt -db /cdrom
lists directory sizes, play times and bitrate ranges

Use ncdt online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad