CRYPTDIR(1)

πŸ“¦
version 5.45.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– CRYPTDIR(1) β€” the cryptdir manual, but make it make sense πŸ’–

okay bestie, this is the man page for cryptdir, living in the General Commands Manual section of your local docs. buckle up, it's short and it's iconic. ✨


πŸŽ€ NAME πŸŽ€

cryptdir β€” literally just encrypt/decrypt every single file in a directory. that's it. that's the job. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

cryptdir [ dir ]
decryptdir [ dir ]

🌸 INTRODUCTION 🌸

so here's the vibe: cryptdir encrypts all the files in the current directory. and if you hand it a directory as an argument? it does that directory instead. slay. 🫢

now the plot twist β€” if you call the program as decryptdir (same exact program, just a different name, iykyk), then instead of encrypting, it decrypts everything. one binary, two moods. πŸ‘‘


✨ NOTES ✨

  • when you're ENCRYPTING: it asks you for the password twice. not to be annoying, but as a precautionary measure β€” because encrypting your files with a password that wasn't the one you actually meant is, and I cannot stress this enough, a disaster. 😭
  • when you're DECRYPTING, though? only one prompt. because if it's the wrong password, like… no harm done. we move. 🧚
  • encrypted files get the suffix .crypt appended to them. this is on purpose β€” it stops a file from getting encrypted twice. when you decrypt, that suffix gets removed. so you can just keep dumping new files into an encrypted directory and run cryptdir on it again without ever worrying about the already-encrypted files. main character energy, honestly. 🌈

πŸ’€ BUGS πŸ’€

the man page is longer than the program. πŸ’€ not me exposing myself like that. πŸ™ˆ


🌟 SEE ALSO 🌟

"Exploring Expect: A Tcl-Based Toolkit for Automating Interactive Programs" by Don Libes, O'Reilly and Associates, January 1995. go read it bestie, it's giving foundational. πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

Don Libes, National Institute of Standards and Technology 🫑


and that's the whole page, fr fr. this little cutie shipped on 1 January 1993 as part of the cryptdir source/version, and honestly? it ate. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from