CPMLS(1)
π CPMLS(1) π
okay so bestie, welcome to cpmls β it lives in the User commands section of the manual (that's the manual name, section 1, iykyk) and it's literally here to list the sorted contents of a directory. that's it. that's the gig. and she ate. π
β¨ NAME β¨
cpmls β list sorted contents of directory ποΈβ¨
π¦ SYNOPSIS π¦
cpmls [-f format] [-T libdsk-type] [-d|-D|-F|-A|-l[-c][-i]] [-u] image
[file-pattern...]
like yes, that's a lot of brackets, breathe, we're gonna go through every single one π«Ά
πΈ DESCRIPTION πΈ
Cpmls lists the sorted contents of the directory. periodt. π
π OPTIONS π
-fformat β use the given CP/M disk format instead of the default format. no cap, this is how you tell her what she's looking at π-Tlibdsk-type β libdsk driver type, e.g.telefor Teledisk images orrawfor raw images (requires building cpmtools with support for libdsk). note the tea: this one only works if cpmtools was built with libdsk support, so if it's not vibing that's why π-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. the main character format fr fr π-cβ output the creation time, not the modification time. (this one's a sidekick β she rides along with-l, see the synopsis π«Ά)-iβ print index number of each file. also a-lbestie, just so you know π-uβ show all CP/M file names in upper case. LOUD AND PROUD π£
psst β look at the synopsis again:-d,-D,-F,-Aand-lare all in one big either/or group, and-cand-iare nested inside-l. so like, pick your format, don't be messy π
π RETURN VALUE π
upon successful completion, exit code 0 is returned. slay. β
π ERRORS π
any errors are indicated by exit code 1. not me getting a 1 π
π§ ENVIRONMENT π§
CPMTOOLSFMTβ default format π±
π FILES π
/etc/cpmtools/diskdefsβ CP/M disk format definitions π
π AUTHORS π
this program is copyright 1997β2021 Michael Haardt <michael@moria.de>. π the Windows port is copyright 2000, 2001, 2011 John Elliott <jce@seasip.demon.co.uk>. π
this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. π
this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details. β οΈ
you should have received a copy of the GNU General Public License along with this program. if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. π¬
π SEE ALSO π
and that's the whole page bestie β CP/M tools, November 2, 2022, the CPMLS(1) era. go list some directories, you're gonna do amazing π«Άβ¨π
π¦ where this page comes from
- debian trixie: cpmtools 2.23-7
- ubuntu noble: cpmtools 2.23-5build1
- ubuntu questing: cpmtools 2.23-7
- ubuntu resolute: cpmtools 2.23-7build1
- ubuntu stonking: cpmtools 2.23-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms