{
    "content": [
        {
            "type": "text",
            "text": "# expect_decryptdir(1) (man)\n\n**Summary:** cryptdir - encrypt/decrypt all files in a directory\n\n**Synopsis:** cryptdir [ dir ]\ndecryptdir [ dir ]\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **INTRODUCTION** (5 lines)\n- **NOTES** (10 lines)\n- **BUGS** (3 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\ncryptdir - encrypt/decrypt all files in a directory\n\n### SYNOPSIS\n\ncryptdir [ dir ]\ndecryptdir [ dir ]\n\n### INTRODUCTION\n\ncryptdir  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### NOTES\n\nWhen  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\n### BUGS\n\nThe man page is longer than the program.\n\n### SEE ALSO\n\n\"Exploring  Expect:  A  Tcl-Based  Toolkit for Automating Interactive Programs\" by Don Libes,\nO'Reilly and Associates, January 1995.\n\n### AUTHOR\n\nDon Libes, National Institute of Standards and Technology\n\n\n\n1 January 1993                                CRYPTDIR(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "expect_decryptdir",
        "section": "1",
        "mode": "man",
        "summary": "cryptdir - encrypt/decrypt all files in a directory",
        "synopsis": "cryptdir [ dir ]\ndecryptdir [ dir ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "INTRODUCTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}