
ld -- List Directory (2.8) : External Command / by Jeff Hansen

syntax:   ld [pathname] [-t] [-s] [-f filetype] [-b y/n]

ex:       ld
          ld /mydisk -t
          ld =:dir
          ld -fbin -s
          ld -st
          ld /hard -by -t

Lists the contents of the directory specified by pathname; wildcards are
allowed.  (If no pathname is given, displays the contents of the current
directory.)  It gives file length and aux_type values of catalog entries,
in addition to those provided by the built-in directory catalog command
(cat). Time stamps are displayed in 24 hour format.  If the given pathname
is not a directory, ld will quit and display an error message.  Block usage
is given, with used, free, total blocks displayed, and the percent used.
AppleWorks files are listed with the correct case according to their
aux_type. Most of the options available with the built-in 'cat' command are
allowed.  See options, below.

options:

     -t   List directory in 'tree' format, with subdirectory contents
          indented 2 spaces for each level.

     -f   List files of this filetype only.  If -t is in effect,
          it (of course) lists the directory (DIR) files too.

     -s   List catalog in 'short' form, which prints the filename
          only.

     -b   [y/n] List files that have their backup bit set (yes) or not
          set (no).

(Version 2.8 corrects a problem with the display of the directory file count.
Using versions of Davex other than 1.23 resulted in an incorrect count.)

(see also: cat)
