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 will archive the files and directories you name
41 command, and then mail the compressed
42 archive to the \*(lqrecipient\*(rq with the given \*(lqsubject\*(rq.
44 will be automatically split up into as many messages as necessary
45 in order to get past most mailers.
49 switch specifies the recipient. The
51 switch specifies the subject. Alternatively, these two required values
52 can be provided without their corresponding switch names.
56 switch can, and should, be used to specify the sender's mailbox (name
57 and email address). Alternatively, the
59 environment variable can be used for the same purpose.
62 will supply a \*(lqFrom:\*(rq header field using the sender's local
70 command line switch can be used to override the run-time determination
71 of the compression program by
81 to pause after posting a partial
82 message. This is usually the case when you are running
84 and expect to generate a lot of partial messages. The
86 switch specifies the number of seconds to pause in between postings,
90 sendfiles -delay 30 -to recipient -subject \*(lqsubject\*(rq files\0...
93 will pause 30 seconds in between each posting. An alternate form of
94 the switch with just the delay time,
96 for example, is also supported.
98 .SS "Extracting the Received Files"
99 When these messages are received, invoke
102 the list of messages. The default is for
105 the combined parts as a new message in the current folder, although
106 this can be changed using storage formatting strings. You can then
109 to find out what's inside; possibly followed by
111 again to write the archive to a file where you can
112 subsequently uncompress and untar it. For instance:
117 msg part type/subtype size description
118 5 message/partial 47K part 1 of 4
119 6 message/partial 47K part 2 of 4
120 7 message/partial 47K part 3 of 4
121 8 message/partial 18K part 4 of 4
123 reassembling partials 5,6,7,8 to folder inbox as message 9
125 msg part type/subtype size description
126 9 application/octet-stream 118K
127 (extract with uncompress | tar xvpf -)
131 % uncompress < 9.tar.Z | tar xvpf -
135 Alternately, by using the
139 will automatically do the extraction for you:
144 msg part type/subtype size description
145 5 message/partial 47K part 1 of 4
146 6 message/partial 47K part 2 of 4
147 7 message/partial 47K part 3 of 4
148 8 message/partial 18K part 4 of 4
150 reassembling partials 5,6,7,8 to folder inbox as message 9
152 msg part type/subtype size description
153 9 application/octet-stream 118K
154 (extract with uncompress | tar xvpf -)
158 -- tar listing appears here as files are extracted
164 listing is generated, the files are extracted.
165 A prudent user will never put
169 file. The correct procedure is to first use
171 to find out what will be extracted. Then
175 to perform the extraction.
179 .ta \w'%etcdir%/ExtraBigFileName 'u
180 ^$HOME/\&.mh\(ruprofile~^The user profile
182 .SH "PROFILE COMPONENTS"
186 .ta \w'ExtraBigProfileName 'u
187 ^Path:~^To determine the user's nmh directory
188 ^Current\-Folder:~^To find the default current folder
197 .I "Proposed Standard for Message Encapsulation"
202 .RB ` "\-from localmbox" '