VIRECOVER(8)
π VIRECOVER(8) β like, the system manager's manual edition, bestie π
okay so real quick, before we dive in: this whole page lives in section 8 of the manual (that's the sysadmin corner of the man-page universe, iykyk), and it's giving "unsung hero of your boot sequence" energy. let's go β¨
πΈ NAME πΈ
vi.recover β the little cutie that reports back on your recovered nvi edit sessions π¦
π«Ά SYNOPSIS π«Ά
/usr/libexec/vi.recover
that's it. no flags, no arguments, no drama. she just runs. periodt π
π DESCRIPTION π
okay so picture this: vi.recover sends out emails to every user who's got nvi(1) recovery files sitting around. yes bestie, actual emails, she's old school like that π
and what's in the email? literally the whole glow-up: it gives you the name of the file that got saved for recovery, plus the instructions for getting back most (if not, like, all) of the changes to that file. and how do you do that? you use the -r option with nvi(1). that's the whole trick. go check the -r option over in nvi(1) for the deets, no cap π₯
now, the cleanup part. if the backup files have the execute bit set or they're zero length, that means they were never actually modified β so vi.recover just deletes them to tidy up. she's not a hoarder, she's a curator β¨
she also removes recovery files that are corrupted, zero length, or that don't have a corresponding backup file. like, if you're not gonna match, you're not staying. bye π
and the vibe check on when she runs: vi.recover is normally run automatically at boot time. main character energy fr fr π
π FILES π
/var/tmp/vi.recover/recover.*β thenvi(1)recovery files πΎ/var/tmp/vi.recover/vi.*β thenvi(1)editor backup files ποΈ
π SEE ALSO π
(that's the one. she's the only friend on the list, and honestly? iconic.)
π AUTHORS π
this man page was originally written by Jeremy C. Reed <reed@reedmedia.net> β ty for your service king π«‘π
aaaand that's the whole page bestie, no crumbs left π§ Debian shipped this one on October 9, 2006 (yes, she's vintage, she's thriving), and it's the VIRECOVER(8) page from the System Manager's Manual. mwah πβ¨πΈ
π¦ where this page comes from
- alpine 3.24: openvi-doc 7.7.32-r0 Β· BSD-3-Clause
- nixos 26.05: openvi 7.7.32
- π the page's license: BSD-2-Clause
- Copyright (c) 2006 The NetBSD Foundation, Inc
- Copyright (c) 2022-2024 Jeffrey H. Johnson <trnsz@pobox.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms