CRYPTDIR(1)
๐ cryptdir: your directoryโs crypt bestie ๐
okay so real talk: this is the CRYPTDIR(1) page, and itโs about one little program doing a big job โ encrypting or decrypting all files in a directory. Itโs giving โtiny utility, main character energyโ ๐
โจ
๐ท๏ธ NAME ๐ท๏ธ
cryptdir โ encrypt/decrypt all files in a directory ๐
โจ SYNOPSIS โจ
cryptdir [ dir ]
decryptdir [ dir ]
๐ธ INTRODUCTION ๐ธ
So hereโs the vibe: cryptdir encrypts all files in the current directory. If you hand it a directory as an argument โ thatโs the optional dir โ it does the same thing there instead. ๐ซ
And when you call it as decryptdir? Same program, different name, bestie. Literally the same binary wearing a little name tag, and this time it decrypts all the files. ๐ซถ
๐ NOTES ๐
- When youโre encrypting, it prompts you for the password twice as a precautionary measure. Thatโs not it being extra for no reason โ it would be a whole disaster to encrypt files with a password that wasnโt what you intended ๐ญ๐
- When youโre decrypting, it only prompts you once. If itโs the wrong password, no harm done. Chill behaviour, honestly. ๐ง
- Encrypted files get the suffix
.cryptappended. This prevents files from being encrypted twice. The suffix is removed upon decryption. ๐ - So likeโฆ you can easily add files to an encrypted directory and run
cryptdiron it without worrying about the already encrypted files. Slay. No cap. โจ
๐ BUGS ๐
The man page is longer than the program. Thatโs it. Thatโs the bug. ๐๐ญ
๐ SEE ALSO ๐
"Exploring Expect: A Tcl-Based Toolkit for Automating Interactive Programs" by Don Libes, OโReilly and Associates, January 1995. Go read the iconโs book, bestie ๐๐
๐ AUTHOR ๐
Don Libes, National Institute of Standards and Technology ๐ซถ
mwah ๐ โ this was the 1 January 1993 edition of CRYPTDIR(1) from the General Commands Manual, and yes, she ate ๐โจ
๐ฆ where this page comes from
- alpine 3.22: expect-doc 5.45.4-r5 ยท NIST-PD
- alpine 3.23: expect-doc 5.45.4-r5 ยท NIST-PD
- alpine 3.24: expect-doc 5.45.4-r5 ยท NIST-PD
- arch rolling: expect 5.45.4-5 ยท custom
- debian bookworm: expect 5.45.4-2+b1
- nixos 26.05: expect 5.45.4
- nixpkgs unstable: expect 6.0a2
- opensuse-leap 16.0: expect 5.45.4-160000.2.2 ยท SUSE-Public-Domain
- opensuse-leap 16.0: expect 5.45.4-160000.2.2 ยท SUSE-Public-Domain
- opensuse-leap 16.0: expect 5.45.4-160000.2.2 ยท SUSE-Public-Domain
- opensuse-leap 16.0: expect 5.45.4-160000.2.2 ยท SUSE-Public-Domain
- ubuntu jammy: expect 5.45.4-2build1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms