DBF-RB(1)

πŸ’– dbf-rb β€” bestie's fave little DBF command-line moment πŸ’–

okay so real quick: this is the dbf-rb(1) page from the General Commands Manual, and it's literally just you and your terminal reading database files together. no cap. let's go πŸ¦‹


✨ NAME ✨

dbf-rb β€” a command-line utility for the DBF library πŸŽ€


🌸 SYNOPSIS 🌸

dbf-rb [-h|-s|-a] filename

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so, DBF? it's a small fast library for reading dBase, xBase, Clipper and FoxPro database files. tiny. speedy. iconic. πŸ’…

and dbf-rb? it's the command-line utility for the Ruby DBF library. that's it, that's the whole vibe. it's giving "just a little guy who reads your databases". 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -s β€” print summary information. the tea, the recap, the whole situation at a glance. πŸ’œ
  • -a β€” create an ActiveRecord::Schema. yes, a whole schema, from the command line, main character energy. πŸ”₯
  • -c β€” create a csv file. commas, but make it fashionable. πŸ“
  • -h β€” Show summary of options. lost? confused? same, but this fixes it. 😭

🌈 EXAMPLES 🌈

bestie, these are the moves:

dbf-rb -a books.dbf > books_schema.rb

Create an ActiveRecord::Schema from the books database. slay. ✨

dbf-rb -c books.dbf > books.csv

Dump all records in books.dbf in to a CSV file. every single one. no records left behind. πŸ’―


lowkey reminder: that's filename right there in the synopsis, so like, actually point it at your .dbf file, bestie πŸ’–

and that's the whole page, fr fr β€” this manual was dated February 23, 2013, so yeah, it's been serving cunt since way before you got here. bye bestie, go read some databases πŸ’…βœ¨

πŸ“¦ where this page comes from