CIF2CBF(1)
π CIF2CBF(1) β the manual, but make it cute π
okay bestie, welcome to cif2cbf, a General Commands Manual moment. sit down, grab a strawberry π, and let's get you fluent.
β¨ NAME β¨
cif2cbf β it converts a CIF to a CBF file. that's the whole job. icon behaviour, honestly. π
πΈ SYNOPSIS πΈ
cif2cbf [options]
no positional args, just vibes and flags. π
π¦ DESCRIPTION π¦
so here's the tea: cif2cbf is a program that accepts either a CIF or a CBF as input, and outputs a CBF file. that's it, that's the plot. it's giving "glow up, but for file formats." β¨
π OPTIONS π
-iinput_cif β (default:stdin) the input file, in CIF or CBF format. if input_cif isn't specified, or you pass it as-, it gets copied fromstdinto a temporary file. lowkey sneaky but very useful. π-ooutput_cbf β (default:stdout) the output cif (when base64 or quoted-printable encoding is in play) or the output cbf (when no encoding is used). if no output_cif is specified, or you pass-, the output goes tostdout. and if output_cbf is/dev/null, literally no output is written. gone. poof. π
the remaining options are all about the characteristics of the output cbf, okay? the characteristics of the input cif are derived from context. no, you don't get to micromanage the input. it reads the room itself. β¨
-ccompression_scheme β pick your compression, bestie:packed,canonical,byte_offset,v2packed,flatpackedornone. default ispacked. π-m [no]headersβ (defaultheadersfor cifs,noheadersfor cbfs) selects MIME (N. Freed, N. Borenstein, RFC 2045, November 1996) headers within binary data value text fields. yes, that's the whole citation, keep it. π-d [no]digestβ (defaultmd5digest [R. Rivest, RFC 1321, April 1992 using "RSA Data Security, Inc. MD5 Message-Digest Algorithm"] when MIME headers are selected). so like, digest only shows up when headers are the vibe. π₯-eencoding βbase64,quoted-printableornone, defaultbase64. it specifies one of the standard MIME encodings for an ascii cif, ornonefor a binary cbf. choose your fighter. π-bbyte_order βforwardorbackwards. default isforward(1234) on little-endian machines, andbackwards(4321) on big-endian machines. your machine already picked a lane, and this flag lets you override it. π¦-pK_of_padding β accepts0,1,2,4: that's no padding after binary data, or1023,2047or4095bytes of padding after binary data. padding era. π-vdictionary β specifies a dictionary to be used to validate the input cif and to apply aliases to the output cif. this option may be specified multiple times, with dictionaries layered in the order given. stacking dictionaries like accessories. π-wβ process wide (2048 character) lines. wide lines deserve love too. π«Ά
π SEE ALSO π
convert_image(1), img2cif(1), makecbf(1).
go read those next, bestie, they're in the same friend group. π
π AUTHOR π
cif2cbf was written by Herbert J. Bernstein. π«Ά
This manual page was written by Morten Kjeldgaard <mok@bioxray.au.dk>, for the Debian project (but may be used by others). slay, Morten. β¨
and that's the whole page, periodt. π
this was the April 2008 edition of the CIF2CBF(1) manual page, General Commands Manual flavour β mwah, no notes, go convert something. ππ¦π
π¦ where this page comes from
- debian bookworm: cbflib-bin 0.9.7+dfsg1-2+b2 Β· GPL-2.0-only OR LGPL-2.1-only
- debian trixie: cbflib-bin 0.9.7+dfsg1-5+b1 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu jammy: cbflib-bin 0.9.6+dfsg1-3build1 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu noble: cbflib-bin 0.9.7+dfsg1-3.1build2 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu questing: cbflib-bin 0.9.7+dfsg1-5build1
- ubuntu resolute: cbflib-bin 0.9.7+dfsg1-5.1build1 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu stonking: cbflib-bin 0.9.7+dfsg1-5.1build2 Β· GPL-2.0-only OR LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms