EXFATATTRIB(8)

πŸ’… EXFATATTRIB (8) πŸ’…

okay so bestie, welcome to exfatattrib β€” your lil' glow-up tool from the System Manager's Manual section, here to set or display exFAT file attributes. no cap, it's giving "makeup bag for file metadata" πŸŽ€


✨ NAME ✨

exfatattrib β€” set or display exFAT file attributes πŸ¦‹


🌸 SYNOPSIS 🌸

exfatattrib [ -r | -R | -i | -I | -s | -S | -a | -A ] -d device file

πŸ’– DESCRIPTION πŸ’–

so like, exfatattrib sets or displays attributes of a file on an exFAT file system. literally that's the whole job and she does it flawlessly ✨

device is the path to an unmounted disk partition or disk image file containing an exFAT file system. (unmounted, bestie β€” she's not out here messing with a mounted fs πŸ™ˆ)

file is the path of a file within that file system.

if you run her with no command line options, the current attributes of file are displayed. otherwise, the attributes you specified get set or cleared. and bestie, listen: it is an error to set and clear the same flag. pick a lane πŸ’€ you can't be both, that's not the vibe.


🫢 COMMAND LINE OPTIONS 🫢

Command line options available:

  • -d device β€” the path to an unmounted disk partition or disk image file containing an exFAT file system. this option is required, so like… don't forget her πŸ₯Ί
  • -r β€” set read-only flag πŸ”’
  • -R β€” clear read-only flag πŸ”“
  • -i β€” set hidden flag (mnemonic: invisible πŸ‘» iykyk)
  • -I β€” clear hidden flag πŸ‘€
  • -s β€” set system flag βš™οΈ
  • -S β€” clear system flag
  • -a β€” set archive flag πŸ“¦
  • -A β€” clear archive flag
  • -h β€” display this help message πŸ†˜
  • -V β€” print version and copyright. πŸ“œ periodt

🧚 EXIT CODES 🧚

zero is returned if errors were not found. any other code means an error. so like, 0 = slay, anything else = something went sideways 😭


πŸ‘‘ AUTHOR πŸ‘‘

Will Thompson β€” icon behavior, we stan πŸ’œ


🌈 SEE ALSO 🌈

  • chmod(1) β€” the classic, the original, the main character

ngl, the flag pairs are everything: lowercase = set, uppercase = clear. spotted the pattern? obsessed. πŸ“

so that's the whole vibe check, bestie. this page is from November 2020 β€” yeah she's a lil' vintage but she ate πŸ’…βœ¨ bye ily 🫢