ABOOK(1)

πŸ“¦
version 0.6.2 Β· 3 versions
, in alpine 3.24, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ“’ ABOOK(1) πŸ“’

Okay bestie, this is the General Commands Manual entry for abook and it is literally so good. πŸ’– Let's get into it.


✨ NAME ✨

abook β€” text-based address book program πŸ“‡

πŸŽ€ SYNOPSIS πŸŽ€

abook [ OPTION ]

πŸ’… DESCRIPTION πŸ’…

Okay so abook is a text-based address book program πŸ¦‹ It keeps track of your Name, Email, Address, and a bunch of Phone fields. It was made to work with mutt, but ngl it's just as iconic on its own. πŸ’œ

🌸 OPTIONS 🌸

  • -h, --help β€” shows you the usage, no cap πŸ™ˆ
  • -C, --config <filename> β€” swaps in a different config file. If you don't pick one, it checks $HOME/.abook/abookrc first, then $XDG_DATA_HOME/abook/abookrc 🌈
  • -f, --datafile <filename> β€” swaps in a different addressbook file. Without this, it looks at $HOME/.abook/addressbook first, then $XDG_DATA_HOME/abook/addressbook πŸ“‚
  • --mutt-query <string> [ --outformat <outputformat> ] β€” makes a query for mutt, basically searching the addressbook for <string> πŸ”
    • The --datafile option (from above) can go BEFORE this one if you want to search a different addressbook file. Main character move. πŸ‘‘
    • Only a few of the <outputformat> options are allowed here: mutt (the default), vcard, and custom ✨
  • --convert [ --informat <inputformat> ] [ --infile <inputfile> ] [ --outformat <outputformat> ] [ --outfile <outputfile> ] β€” converts <inputfile> in <inputformat> into <outputfile> in <outputformat>. The defaults are abook, stdin, text, and stdout πŸ”„

The input formats it can read:

  • abook β€” abook native format
  • ldif β€” ldif / Netscape addressbook
  • mutt β€” mutt alias
  • pine β€” pine addressbook
  • csv β€” comma separated values
  • palmcsv β€” Palm comma separated values
  • vcard β€” VCard addressbook

The output formats it can make:

  • abook β€” abook native format
  • ldif β€” ldif / Netscape addressbook (.4ld)
  • mutt β€” mutt alias
  • html β€” html document
  • pine β€” pine addressbook
  • vcard β€” VCard addressbook
  • csv β€” comma separated values
  • palmcsv β€” Palm comma separated values
  • elm β€” elm alias
  • text β€” plain text
  • spruce β€” Spruce address book
  • wl β€” Wanderlust address book
  • ical β€” iCalendar
  • bsdcal β€” BSD calendar
  • custom β€” Custom output format, see below 🎨
  • --outformatstr <string> β€” only matters if you use --mutt-query or --convert and --outformat=custom. The <string> is a format string that lets you add placeholders 🧚
    • A placeholder can be any of the standard field names (see abookrc(5)) and it has to be wrapped in curly brackets, like {name}.
    • The default value is "{nick} ({name}): {mobile}" πŸ’–
    • If your <string> starts with !, only entries where all the fields from <string> are non-NULL get included. Very picky, very effective. πŸ’…
  • --add-email β€” reads an e-mail message from stdin and adds the sender to the addressbook πŸ“¨
  • --add-email-quiet β€” same as --add-email, but it won't confirm that it added anyone 🀫
  • --email-fields <fields> β€” a comma-separated list of the email fields it checks when adding email addresses. It defaults to "from", but adding pretty much everything would be "from,to,cc" πŸ’Œ
  • --formats β€” lists the available formats πŸ“œ

🌈 COMMANDS DURING USE 🌈

Press '?' while you're using it and it'll show you a list of commands. ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

mutt(1), abookrc(5) πŸ”—

🫢 AUTHOR 🫢

This manual page was written by Alan Ford <alan@whirlnet.co.uk>, for the Debian GNU/Linux system (but anyone can use it). 🌸

abook was written by Jaakko Heinonen <jheinonen@users.sourceforge.net> πŸ‘‘


That's the tea, bestie! πŸ’– Signing off from ABOOK(1), last updated 2006-09-06. Stay iconic. 🧚✨

πŸ“¦ where this page comes from