CPMLS(1)

πŸ“¦
version 2.23 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸŽ€

  • -f format β€” 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 πŸ‘‘
  • -T libdsk-type β€” libdsk driver type, e.g. tele for Teledisk images or raw for 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 -l bestie, 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, -A and -l are all in one big either/or group, and -c and -i are 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