1 .TH SENDFILES %manext1% "October 21, 2012" "%nmhversion%"
6 sendfiles \- send multiple files via a MIME message
12 .IR bzip2 " | " compress " | " gzip " | " lzma " | " none ]
16 .RI [ "\-delay n" " | " \-n ]
34 is used to send a collection
35 of files and directories via electronic mail.
38 sendfiles -to recipient -subject \*(lqsubject\*(rq files\0...
42 will archive the files and directories you name
45 command, and then mail the compressed
46 archive to the \*(lqrecipient\*(rq with the given \*(lqsubject\*(rq.
48 will be automatically split up into as many messages as necessary
49 in order to get past most mailers.
53 switch specifies the recipient. The
55 switch specifies the subject. Alternatively, these two required values
56 can be provided without their corresponding switch names.
60 switch can, and should, be used to specify the sender's mailbox (name
61 and email address). Alternatively, the
63 environment variable can be used for the same purpose.
66 will supply a \*(lqFrom:\*(rq header field using the sender's local
74 command line switch can be used to override the run-time determination
75 of the compression program by
85 to pause after posting a partial
86 message. This is usually the case when you are running
88 and expect to generate a lot of partial messages. The
90 switch specifies the number of seconds to pause in between postings,
94 sendfiles -delay 30 -to recipient -subject \*(lqsubject\*(rq files\0...
97 will pause 30 seconds in between each posting. An alternate form of
98 the switch with just the delay time,
100 for example, is also supported.
102 .SS "Extracting the Received Files"
103 When these messages are received, invoke
106 the list of messages. The default is for
109 the combined parts as a new message in the current folder, although
110 this can be changed using storage formatting strings. You can then
113 to find out what's inside; possibly followed by
115 again to write the archive to a file where you can
116 subsequently uncompress and untar it. For instance:
121 msg part type/subtype size description
122 5 message/partial 47K part 1 of 4
123 6 message/partial 47K part 2 of 4
124 7 message/partial 47K part 3 of 4
125 8 message/partial 18K part 4 of 4
127 reassembling partials 5,6,7,8 to folder inbox as message 9
129 msg part type/subtype size description
130 9 application/octet-stream 118K
131 (extract with uncompress | tar xvpf -)
135 % uncompress < 9.tar.Z | tar xvpf -
139 Alternately, by using the
143 will automatically do the extraction for you:
148 msg part type/subtype size description
149 5 message/partial 47K part 1 of 4
150 6 message/partial 47K part 2 of 4
151 7 message/partial 47K part 3 of 4
152 8 message/partial 18K part 4 of 4
154 reassembling partials 5,6,7,8 to folder inbox as message 9
156 msg part type/subtype size description
157 9 application/octet-stream 118K
158 (extract with uncompress | tar xvpf -)
162 -- tar listing appears here as files are extracted
168 listing is generated, the files are extracted.
169 A prudent user will never put
173 file. The correct procedure is to first use
175 to find out what will be extracted. Then
179 to perform the extraction.
183 .ta \w'%etcdir%/ExtraBigFileName 'u
184 ^$HOME/\&.mh\(ruprofile~^The user profile
186 .SH "PROFILE COMPONENTS"
190 .ta \w'ExtraBigProfileName 'u
191 ^Path:~^To determine the user's nmh directory
192 ^Current\-Folder:~^To find the default current folder
201 .I "Proposed Standard for Message Encapsulation"
206 .RB ` "\-from localmbox" '