units_cur(1)

✨ units_cur(1) ✨

okay bestie, welcome to the General Commands Manual page for units_cur(1) πŸ’– pull up a chair, we're gonna make currency data fresh af.


πŸŽ€ NAME πŸŽ€

units_cur β€” update currency information for units(1) πŸ’Έ

🌸 SYNOPSIS 🌸

units_cur [options] [<currency_file> [<crypto_file> [<metals_file>
[cpi_file]]]]

πŸ¦‹ DESCRIPTION πŸ¦‹

units_cur updates the currency information, crypto prices, precious metal prices, and consumer price index data for units. yes she does all of it, no cap ✨


πŸ’… OPTIONS πŸ’…

lowkey the vibe here: if you hand her a file as an argument, the updated info goes there instead of in the default file (scroll down for those, bestie πŸ‘‡). and there are two lil magic values: a single - writes the updated info to standard output, and a single . makes her skip that file entirely. πŸ™ˆ
  • -h β€” shows help information then dips out, periodt.
  • -c, --crypto coingecko|packetizer β€” sets the crypto data source. default is coingecko πŸͺ™
  • -V, --version β€” displays the units_cur version. main character reveal πŸ’β™€οΈ
  • -v, --verbose β€” displays details while fetching currency data. like, she'll narrate the whole thing πŸ—£οΈ
  • -s, --source exchangerate_api|floatrates|eubank|fixer|openexchangerates β€” sets the currency data source. default is exchangerate_api 🏦
  • -b, --base base β€” sets the base currency (when the data source allows it, iykyk). base should be a three-letter ISO currency code such as USD. the currency you pick becomes the primitive currency unit that units uses. heads up: only the floatrates source supports this option πŸ’€
  • -k, --key key β€” sets the API key for the sources that demand one. gates stay locked without it πŸ”‘
  • --blskey bls_key β€” sets the BLS key for fetching CPI data πŸ“Š

πŸ“ FILES πŸ“

  • /var/lib/units/currency.units β€” default currency information πŸ’΅
  • /var/lib/units/crypto.units β€” default crypto prices πŸͺ™
  • /var/lib/units/metal_prices.units β€” default precious metal prices πŸ‘‘
  • /var/lib/units/cpi.units β€” default consumer price index data πŸ›’

πŸ‘€ SEE ALSO πŸ‘€

πŸ’œ AUTHORS πŸ’œ

units was written by Adrian Mariano <adrianm@gnu.org>. iconic behavior, fr fr 🫢

This manual page was written by Stephen Kitt <skitt@debian.org>, for the Debian GNU/Linux system (but may be used by others). It was last modified for units_cur version 5.1 (units version 2.26). 🌟


and that's the whole page, bestie πŸ’– this came from the units manual, dated February 27, 2026 β€” go forth and refresh those rates, slay βœ¨πŸŽ€

πŸ“¦ where this page comes from