{
    "content": [
        {
            "type": "text",
            "text": "# sendfiles (info)\n\n## NAME\n\nsendfiles - send multiple files by MIME message with nmh\n\n## SYNOPSIS\n\nsendfiles [-help] [-version] [-compress bzip2 | compress | gzip | lzma\n| none]\n[-from sender] [-delay n | -n]\n-to recipient -subject subject | recipient subject\nfile/directory1 [file/directory2 ...]\n\n## DESCRIPTION\n\nThe shell script sendfiles is used to send a collection  of  files  and\ndirectories via electronic mail.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FILES**\n- **PROFILE COMPONENTS**\n- **SEE ALSO**\n- **DEFAULTS**\n- **CONTEXT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "sendfiles",
        "section": "",
        "mode": "info",
        "summary": "sendfiles - send multiple files by MIME message with nmh",
        "synopsis": "sendfiles [-help] [-version] [-compress bzip2 | compress | gzip | lzma\n| none]\n[-from sender] [-delay n | -n]\n-to recipient -subject subject | recipient subject\nfile/directory1 [file/directory2 ...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mhbuild",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mhbuild/1/json"
            },
            {
                "name": "mhlist",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mhlist/1/json"
            },
            {
                "name": "mhshow",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mhshow/1/json"
            },
            {
                "name": "mhstore",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mhstore/1/json"
            },
            {
                "name": "mh-format",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/mh-format/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 83,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "PROFILE COMPONENTS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CONTEXT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "sendfiles - send multiple files by MIME message with nmh\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "sendfiles [-help] [-version] [-compress bzip2 | compress | gzip | lzma\n| none]\n[-from sender] [-delay n | -n]\n-to recipient -subject subject | recipient subject\nfile/directory1 [file/directory2 ...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The shell script sendfiles is used to send a collection  of  files  and\ndirectories via electronic mail.\n\nsendfiles  will archive the files and directories you name with the tar\ncommand, and then mail the compressed archive to the  \"recipient\"  with\nthe  given  \"subject\".  The archive will be automatically split up into\nas many messages as necessary in order to get past most mailers.\n\nThe -to switch specifies the recipient.  The -subject switch  specifies\nthe  subject.  Alternatively, these two required values can be provided\nwithout their corresponding switch names.\n\nThe -from switch can, and should, be used to specify the sender's mail-\nbox  (name  and  email address).  Alternatively, the PERSON environment\nvariable can be used for the same purpose.  If neither is  used,  send-\nfiles will supply a \"From:\" header field using the sender's local mail-\nbox, see localmbox in mh-format(5).\n\nThe -compress command line switch can be used to override the  run-time\ndetermination  of the compression program by sendfiles.  -compress none\n(alternatively, -none) disables compression.\n\nSometimes you want sendfiles to pause after posting a partial  message.\nThis  is  usually  the case when you are running sendmail and expect to\ngenerate a lot of partial messages.  The -delay  switch  specifies  the\nnumber of seconds to pause in between postings, e.g.,\n\nsendfiles -delay 30 -to recipient -subject \"subject\" files ...\n\nwill  pause  30  seconds in between each posting.  An alternate form of\nthe switch with just the delay time, -30, for  example,  is  also  sup-\nported.\n\nExtracting the Received Files\nWhen  these  messages are received, invoke mhstore once for the list of\nmessages.  The default is for mhstore to store the combined parts as  a\nnew  message  in the current folder, although this can be changed using\nstorage formatting strings.  You can then use mhlist to find out what's\ninside;  possibly  followed  by mhstore again to write the archive to a\nfile where you can subsequently uncompress and untar it.  For instance:\n\n% mhlist 5-8\nmsg part  type/subtype             size description\n5       message/partial           47K part 1 of 4\n6       message/partial           47K part 2 of 4\n7       message/partial           47K part 3 of 4\n8       message/partial           18K part 4 of 4\n% mhstore 5-8\nreassembling partials 5,6,7,8 to folder inbox as message 9\n% mhlist -verbose 9\nmsg part  type/subtype             size description\n9       application/octet-stream 118K\n(extract with uncompress | tar xvpf -)\ntype=tar\nconversions=compress\n% mhstore 9\n% uncompress < 9.tar.Z | tar xvpf -\n\nAlternately, by using the -auto switch, mhstore will  automatically  do\nthe extraction for you:\n\n% mhlist 5-8\nmsg part  type/subtype             size description\n5       message/partial           47K part 1 of 4\n6       message/partial           47K part 2 of 4\n7       message/partial           47K part 3 of 4\n8       message/partial           18K part 4 of 4\n% mhstore 5-8\nreassembling partials 5,6,7,8 to folder inbox as message 9\n% mhlist -verbose 9\nmsg part  type/subtype             size description\n9       application/octet-stream 118K\n(extract with uncompress | tar xvpf -)\ntype=tar\nconversions=compress\n% mhstore -auto 9\n-- tar listing appears here as files are extracted\n\nAs  the  second  tar  listing is generated, the files are extracted.  A\nprudent user will never put -auto in the .mhprofile file.  The correct\nprocedure  is  to  first use mhlist to find out what will be extracted.\nThen mhstore can be invoked with -auto to perform the extraction.\n",
                "subsections": []
            },
            "FILES": {
                "content": "$HOME/.mhprofile          The user profile\n",
                "subsections": []
            },
            "PROFILE COMPONENTS": {
                "content": "Path:                To determine the user's nmh directory\nCurrent-Folder:      To find the default current folder\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mhbuild(1), mhlist(1), mhshow(1), mhstore(1), mh-format(5)\n\nProposed Standard for Message Encapsulation (RFC 934)\n",
                "subsections": []
            },
            "DEFAULTS": {
                "content": "`-delay 0'\n`-from localmbox'\n",
                "subsections": []
            },
            "CONTEXT": {
                "content": "None\n\nnmh-1.7.1                         2012-11-14                    SENDFILES(1mh)",
                "subsections": []
            }
        }
    }
}