{
    "mode": "man",
    "parameter": "expect_decryptdir",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/expect_decryptdir/1/json",
    "generated": "2026-06-02T21:26:03Z",
    "synopsis": "cryptdir [ dir ]\ndecryptdir [ dir ]",
    "sections": {
        "NAME": {
            "content": "cryptdir - encrypt/decrypt all files in a directory\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "cryptdir [ dir ]\ndecryptdir [ dir ]\n",
            "subsections": []
        },
        "INTRODUCTION": {
            "content": "cryptdir  encrypts  all files in the current directory (or the given directory if one is pro‐\nvided as an argument).  When called as decryptdir (i.e., same program, different  name),  all\nfiles are decrypted.\n\n",
            "subsections": []
        },
        "NOTES": {
            "content": "When  encrypting,  you  are  prompted  twice for the password as a precautionary measure.  It\nwould be a disaster to encrypt files a password that wasn't what you intended.\n\nIn contrast, when decrypting, you are only prompted once.  If it's  the  wrong  password,  no\nharm done.\n\nEncrypted  files  have  the suffix .crypt appended.  This prevents files from being encrypted\ntwice.  The suffix is removed upon decryption.  Thus, you can easily  add  files  to  an  en‐\ncrypted directory and run cryptdir on it without worrying about the already encrypted files.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "The man page is longer than the program.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "\"Exploring  Expect:  A  Tcl-Based  Toolkit for Automating Interactive Programs\" by Don Libes,\nO'Reilly and Associates, January 1995.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Don Libes, National Institute of Standards and Technology\n\n\n\n1 January 1993                                CRYPTDIR(1)",
            "subsections": []
        }
    },
    "summary": "cryptdir - encrypt/decrypt all files in a directory",
    "flags": [],
    "examples": [],
    "see_also": []
}