1CPMLS(1) User commands CPMLS(1)
2
3
4
6 cpmls - list sorted contents of directory
7
9 cpmls [-f format] [-T libdsk-type] [-d|-D|-F|-A|-l[-c][-i]] image
10 [file-pattern...]
11
13 Cpmls lists the sorted contents of the directory.
14
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
39 Upon successful completion, exit code 0 is returned.
40
42 Any errors are indicated by exit code 1.
43
45 CPMTOOLSFMT Default format
46
48 /usr/share/cpmtools/diskdefs CP/M disk format definitions
49
51 This program is copyright 1997–2012 Michael Haardt <michael@moria.de>.
52 The Windows port is copyright 2000, 2001, 2011 John Elliott
53 <jce@seasip.demon.co.uk>.
54
55 This program is free software; you can redistribute it and/or modify it
56 under the terms of the GNU General Public License as published by the
57 Free Software Foundation; either version 3 of the License, or (at your
58 option) any later version.
59
60 This program is distributed in the hope that it will be useful, but
61 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
62 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
63 Public License for more details.
64
65 You should have received a copy of the GNU General Public License along
66 with this program. If not, write to the Free Software Foundation,
67 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
68
70 cpmcp(1), cpm(5)
71
72
73
74CP/M tools October 25, 2014 CPMLS(1)