mdir(1)

✨ NAME ✨

okay so like, bestie, this is mdir from the manual page β€” and she's here to display an MSDOS directory. that's the whole gig. πŸ’…


⚠️ NOTE OF WARNING ⚠️

not me being the bearer of bad news but... this manpage was automatically generated from mtools's texinfo documentation, so it "may not be entirely accurate or complete." fr fr. see the end of this man page for the details, bestie. 🫢

🌸 DESCRIPTION 🌸

the mdir command is used to display an MS-DOS directory. its syntax is, iconic as always:

mdir [-/] [-f] [-w] [-a] [-b] msdosfile [ msdosfiles...]

mdir displays the contents of MS-DOS directories, or the entries for some MS-DOS files. like, it's giving directory tour guide energy. πŸ‘‘


πŸ’– OPTIONS πŸ’–

mdir supports the following command line options:

  • -/ β€” recursive output, just like MS-DOS' -s option. we're going DEEP. πŸŒ€
  • -w β€” wide output. with this option, mdir prints the filenames across the page without displaying the file size or creation date. no receipts, just names. ✨
  • -a β€” also list hidden files. the secret ones. we see them now. πŸ™ˆ
  • -f β€” fast. do not try to find out free space. on larger disks, finding out the amount of free space takes up some non trivial amount of time, as the whole FAT must be read in and scanned. the -f flag bypasses this step. this flag is not needed on FAT32 file systems, which store the size explicitly. periodt. ⚑
  • -b β€” concise listing. lists each directory name or filename, one per line (including the filename extension). this switch displays no heading information and no summary. only a newline separated list of pathnames is displayed. minimalism ate. πŸ’…
an error occurs if a component of the path is not a directory. yeah. she will simply not tolerate that. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

  • Mtools' texinfo doc

πŸŽ€ VIEWING THE TEXI DOC πŸŽ€

so, real talk: this manpage has been automatically generated from mtools's texinfo documentation. however, this process is only approximative, and some items, such as crossreferences, footnotes and indices are lost in this translation process. indeed, these items have no appropriate representation in the manpage format. moreover, not all information has been translated into the manpage version. thus I strongly advise you to use the original texinfo doc. see the end of this manpage for instructions how to view the texinfo doc. lowkey important bestie, don't skip this. 🧚

  • to generate a printable copy from the texinfo doc, run the following commands:
./configure; make dvi; dvips mtools.dvi
  • to generate a html copy, run:
./configure; make html

a premade html can be found at http://www.gnu.org/software/mtools/manual/mtools.html 🌈

  • to generate an info copy (browsable using emacs' info mode), run:
./configure; make info

the texinfo doc looks most pretty when printed or as html. indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info. she's gorgeous either way tho. πŸ’œ


and that's the whole vibe check, bestie β€” this was mdir(1) from the General Commands Manual, coming to you straight outta mtools-4.0.49, dated 14Jun25. slay, stay recursive, and don't forget to read the texinfo doc. bye bestie!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ