dosls, dosll - list contents of DOS directories
dosls [-aAudl] device:[file] ...
dosll [-aAudl] device:[file] ...
dosls is the DOS counterpart of ls (see ls(1)).
For each directory named, dosls lists the contents of that directory.
For each file named, dosls repeats its name and any other information
requested. If invoked by the name dosll, the -l (ell) option is
dosls and dosll recognizes the following options:
-a List all directory entries. In the absence of this
option, hidden files, system files, and files whose names
begin with a dot (.) are not listed.
-A Same as -a, except the current directory and the parent
directory are not listed. For the superuser, this option
defaults to being set, and is disabled by -A.
-u Disable argument case conversion. In the absence of this
option, all DOS file names are converted to uppercase.
-d If an argument is a directory, list only its name. Often
used with -l to get the status of a directory.
-l List in long format, giving file attribute, size in bytes,
and the date and time of last modification for each file,
as well as listing the DOS volume label. Long listing is
disabled if this option is used with the dosll command.
A DOS file name is recognized by the presence of an embedded colon (:)
delimiter; see dosif(4) for DOS file naming conventions.
Metacharacters *, ?, and [ ... ] can be used when specifying DOS file
names. These must be quoted when specifying a DOS file name, because
file name expansion must be performed by the DOS utilities, not by the
shell. DOS utilities expand file names as described in regexp(5)
under PATTERN MATCHING NOTATION.
These examples assume that a DOS directory structure exists on the
device accessed through HP-UX special file /dev/rdsk/c2t1d0.
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000
The following example lists all of the files in the root directory of
the DOS directory structure:
dosls -a /dev/rdsk/c2t1d0:
The following example lists all of the files with extension bat in the
root directory of the DOS directory structure:
dosls -a '/dev/rdsk/c2t1d0:*.bat'
The following example produces a long-format listing of all the
information about the DOS directory /dos/math, but does not list the
files in the directory:
dosls -ld /dev/rdsk/c2t1d0:/dos/math
dos2ux(1), doschmod(1), doscp(1), dosdf(1), dosmkdir(1), dosrm(1),
Hewlett-Packard Company - 2 - HP-UX Release 11i: November 2000