RSYNCRYPTO_RECOVER(1)

✨ RSYNCRYPTO_RECOVER πŸ’–

okay bestie, welcome to the rsyncrypto_recover manual β€” it's part of the Rsyncrypto_recover User Manual, and no cap, it's a tiny little rescue mission of a program. πŸ¦‹


🌸 NAME 🌸

rsyncrypto_recover β€” recover all usable data from corrupted rsyncrypto filemaps πŸ’…


✨ SYNOPSIS ✨

rsyncrypto_recover badfile > goodfile

like. that's it. that's the whole vibe. redirect it and go πŸŽ€


πŸ’– DESCRIPTION πŸ’–

This manual page documents the rsyncrypto_recover command. (yes bestie, a manpage for the manpage-adjacent thing, we love a self-aware moment ✨)

So here's the lore πŸ‘‘: when you run the rsyncrypto command with the --name-encrypt option, it builds a file that maps your plain text representation over to the encrypted file names. That file mapping has a strict format β€” it's records, and the records are delimited by a NULL byte. very structured. very demure. πŸŽ€

Now 😭 a bug showed up in version 1.07 of rsyncrypto (rip) and it got fixed in version 1.09. This bug made that file get somewhat corrupted under certain circumstances β€” most notably when you used the --delete-keys command line option. it's giving chaos, honestly πŸ’€

but wait β€” important!! the only records that got corrupted are records that were due to be deleted anyway. so ngl, this bug did not result in any loss of actual important data. periodt. 🫢

What it did do though? It left behind a file that rsyncrypto then straight up refused to open. rude. πŸ™ˆ

Enter rsyncrypto_recover: it reads in a file map, and outputs to standard output only those records that are valid. that's the whole job. icon, honestly. πŸ‘‘


🌈 PARAMETERS 🌈

  • badfile β€” a file map that contains some good records and some corrupted records. a little bit of a mess, a little bit of treasure. we're salvaging the treasure πŸ’–

πŸ‘€ SEE ALSO πŸ‘€


πŸŽ€ AUTHOR πŸŽ€

rsyncrypto was written by Shachar Shemesh for Lingnu Open Source Consulting ltd. β€” http://www.lingnu.com

This manual page was written by Shachar Shemesh <shachar@debian.org> πŸ’Œ


🌟 PROJECT HOMEPAGE 🌟

http://rsyncrypto.lingnu.com


and that's the whole thing, bestie!! πŸ’œ this page came to you courtesy of Lingnu Open Source Consulting, dated May 13, 2008 β€” yes it's an oldie but she's still serving 🫢✨ go recover those records, you got this πŸ¦‹πŸ’…

πŸ“¦ where this page comes from