1CPMLS(1)                         User commands                        CPMLS(1)
2
3
4

NAME

6       cpmls - list sorted contents of directory
7

SYNOPSIS

9       cpmls [-f format] [-T libdsk-type] [-d|-D|-F|-A|-l[-c][-i]] [-u] image
10       [file-pattern...]
11

DESCRIPTION

13       Cpmls lists the sorted contents of the directory.
14

OPTIONS

16       -f format
17              Use the given CP/M disk format instead of the default format.
18
19       -T libdsk-type
20              libdsk driver type, e.g. tele for Teledisk images or raw for raw
21              images (requires building cpmtools with support for libdsk).
22
23       -d     Old CP/M 2.2 dir output.
24
25       -D     P2DOS 2.3 ddir-like output.
26
27       -F     CP/M 3.x dir output.
28
29       -A     E2fs lsattr-like output.
30
31       -l     Long UNIX-style directory listing including size, time stamp and
32              user number.
33
34       -c     Output the creation time, not the modification time.
35
36       -i     Print index number of each file.
37
38       -u     Show all CP/M file names in upper case.
39

RETURN VALUE

41       Upon successful completion, exit code 0 is returned.
42

ERRORS

44       Any errors are indicated by exit code 1.
45

ENVIRONMENT

47       CPMTOOLSFMT     Default format
48

FILES

50       /usr/share/cpmtools/diskdefs  CP/M disk format definitions
51

AUTHORS

53       This program is copyright 1997–2021 Michael Haardt  <michael@moria.de>.
54       The   Windows   port   is  copyright  2000,  2001,  2011  John  Elliott
55       <jce@seasip.demon.co.uk>.
56
57       This program is free software; you can redistribute it and/or modify it
58       under  the  terms of the GNU General Public License as published by the
59       Free Software Foundation; either version 3 of the License, or (at  your
60       option) any later version.
61
62       This  program  is  distributed  in the hope that it will be useful, but
63       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
64       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
65       Public License for more details.
66
67       You should have received a copy of the GNU General Public License along
68       with  this  program.   If  not,  write to the Free Software Foundation,
69       Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
70

SEE ALSO

72       cpmcp(1), cpm(5)
73
74
75
76CP/M tools                       Jan 22, 2021                         CPMLS(1)
Impressum