NK2EXPORT(1)

πŸ“¦ in opensuse-leap 16.0

🌸 nk2export β€” the LOCAL manual page, section 1, bestie πŸ’…

okay so real talk, this is nk2export() from the LOCAL manual, and it's lowkey one of those tiny tools that just does its job. Let's get into it ✨


✨ NAME ✨

nk2export β€” exports items stored in a Nickfile (NK2) πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

nk2export [-c codepage] [-l logfile] [-t target] [-hqvV] source

that's it. that's the whole vibe. one source, a handful of flags, go off πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

nk2export is a utility to export items stored in a Nickfile (NK2). no cap, that's literally what it does 🫢

it's part of the libnk2 package β€” and libnk2 is a library to access the Nickfile (NK2) format. so like, nk2export is the friendly lil front door to a whole library, iconic behavior honestly 🌈

source is the source file. the one you're exporting from. yes, that one πŸ’œ

The options are as follows:

  • -c codepage β€” specify the codepage of ASCII strings. the options are: ascii, windows-874, windows-932, windows-936, windows-949, windows-950, windows-1250, windows-1251, windows-1252 (default), windows-1253, windows-1254, windows-1255, windows-1256, windows-1257 or windows-1258. yes bestie, that's a lot of codepages, pick your fighter 😭
  • -h β€” shows this help. the classic. the icon πŸŽ€
  • -l logfile β€” specify the file in which to log information about the exported items. receipts, but written down πŸ“
  • -q β€” quiet. shows minimal status information. for when you want the tea without the whole kettle πŸ“
  • -t target β€” specify the target directory to export to. the default is the source filename followed by .export β€” so she names the folder herself, main character energy πŸ‘‘
  • -v β€” verbose output to stderr. she tells you everything πŸ—£οΈ
  • -V β€” print version. proof she's real πŸ’…

🧚 ENVIRONMENT 🧚

None. nothing. empty. she needs no environment variables, she's self-sufficient ✨


🌸 FILES 🌸

None. also nothing. zero files configured, zero drama πŸ™ˆ


πŸ”₯ EXAMPLES πŸ”₯

# nk2export Outlook.NK2
nk2export 20110704

Opening file.
Exporting aliases.
Processing alias 1 out of 1.
      ...
Exporting alias 4 out of 4.
Export completed.

see how she counts them? "Processing alias 1 out of 1" then a cute lil ... then suddenly "Exporting alias 4 out of 4". she keeps you posted the entire time, attentive queen 🫢


πŸ’€ DIAGNOSTICS πŸ’€

Errors, verbose and debug output are printed to stderr when verbose output -v is enabled. important caveat bestie: verbose and debug output are only printed when enabled at compilation. so if you're not seeing it, that's why β€” it's not a you problem, it's a build-time thing 😌


πŸ› BUGS πŸ›

Please report bugs of any kind to <joachim.metz@gmail.com> or on the project website: https://github.com/libyal/libnk2/

found a bug? don't gatekeep, report it πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

These man pages were written by Joachim Metz. thank you for your service 🫑


Copyright (C) 2009-2024, Joachim Metz <joachim.metz@gmail.com>. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

like, NO warranty. none. zero. not even the implied one. read that twice, bestie ⚠️


🌟 SEE ALSO 🌟

nk2info(1) β€” go hang out with her sister tool


and that's the whole page, slay ✨ this was libnk2, dated April 20, 2019 β€” the version info and date, right here in the sign-off, because we don't copy footers in this house, we mention them πŸŽ€πŸ’–πŸ¦‹