cpmls1
List sorted contents of directory
Usage
cpmls [-f
format]
[-T
libdsk-type]
[{-d | -D | -F | -A | -l
[-c]
[-i]}]
[-u]
image
[file-pattern ...]
Overview
Cpmls lists the sorted contents of the directory.
Options
-
-f format -
Use the given CP/M disk format instead of the default format.
-
-T libdsk-type -
libdsk driver type, e.g.
telefor Teledisk images orrawfor raw images (requires building cpmtools with support for libdsk).
-
-d -
Old CP/M 2.2 dir output.
-
-D -
P2DOS 2.3 ddir-like output.
-
-F -
CP/M 3.x dir output.
-
-A -
E2fs lsattr-like output.
-
-l -
Long UNIX-style directory listing including size, time stamp and user number.
-
-c -
Output the creation time, not the modification time.
-
-i -
Print index number of each file.
-
-u -
Show all CP/M file names in upper case.
Return value
Upon successful completion, exit code 0 is returned.
Errors
Any errors are indicated by exit code 1.
Environment
CPMTOOLSFMT Default format
Files
/etc/cpmtools/diskdefs CP/M disk format definitions
Releases
12 releases since Debian 3.0 (Woody); the text changed 9 times.
-T since Debian 9 (Stretch);
-u since Debian 12 (Bookworm).