checkdirfile(1)

checkdirfile πŸ’…βœ¨

ok so bestie, this is the checkdirfile(1) page from the GETDATA manual β€” it's the lil' vibe-checker for your Dirfile databases and honestly? it's giving quality control icon. πŸŽ€


🌸 NAME 🌸

checkdirfile β€” verify Dirfile database metadata πŸ¦‹


✨ SYNOPSIS ✨

checkdirfile DIRFILE
checkdirfile [ --help | --version ]

πŸ’– DESCRIPTION πŸ’–

So what it does is: it reports errors in the metadata of the dirfile(5) database you point it at with DIRFILE. Like, it reads your database's lil' paperwork and is like "bestie… no." 😭

It runs three separate checks, and no we are not skipping any of them:

  1. First, the format specification metadata gets scanned for syntax errors (peep dirfile-format(5) for that) and for Dirfile Standards compliance. so like, is it even legal?? πŸ‘‘
  2. Second, the fields defined in the database get checked for self-consistency β€” do they make sense, do they agree with themselves, are they at peace. 🧘
  3. Finally, the database gets queried for its length. how long is it. we must know. πŸ“

And also, the flag situation:

  • --help β€” shows usage info and bounces. 🫢
  • --version β€” shows version info and bounces. same energy. ✨

Both of those just print and exit, no database required, no stress.

πŸ’€ fr fr: if you're getting weird errors out of your dirfile tooling, run this first. it will absolutely tell you what's up. no cap.

πŸ‘‘ AUTHOR πŸ‘‘

checkdirfile was written by D. V. Wiebe. thank you for your service, king. 🫑


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? bestie, please send those reports to getdata-devel@lists.sourceforge.net β€” they wanna hear it, i promise, it's not a bother. πŸ’Œ

The GetData home page: <http://getdata.sourceforge.net/>


Copyright Β© 2010 D. V. Wiebe

checkdirfile is licenced under the GNU LPGL version 2.1 or later.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (that's the dramatic part. it's real. no warranty. πŸ’€)


🌈 SEE ALSO 🌈

iykyk, go read those next. ✨


Version 0.8.0 Β· 21 February 2012 β€” yeah it's an oldie but she still slays, mwah πŸ’‹πŸŽ€πŸ’–