4 .TH SENDFILES %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 sendfiles \- send multiple files via a MIME message
11 .RB [ \-bzip2 " | " \-compress " | " \-gzip " | " \-lzma " | " \-none " | " -zip ]
28 is used to send a collection
29 of files and directories via electronic mail.
32 sendfiles recipient \*(lqsubject\*(rq files\0...
36 will archive the files and directories you name
39 command, and then mail the compressed
40 archive to the \*(lqrecipient\*(rq with the given \*(lqsubject\*(rq.
42 will be automatically split up into as many messages as necessary
43 in order to get past most mailers.
47 switch can, and should, be used to specify the sender's mailbox (name
48 and email address). Alternatively, the
50 environment variable can be used for the same purpose.
53 will supply a \*(lqFrom:\*(rq header field using the sender's local
59 The remaining command line switches select the compression program.
60 One of these can be used to override the run-time determination of
61 the compression program by
66 to pause after posting a partial
67 message. This is usually the case when you are running
69 and expect to generate a lot of partial messages. If the first
72 starts with a dash, then it is
73 interpreted as the number of seconds to pause in between postings,
77 sendfiles -30 recipient \*(lqsubject\*(rq files\0...
80 will pause 30 seconds in between each posting.
82 .SS "Extracting the Received Files"
83 When these messages are received, invoke
86 the list of messages. The default is for
89 the combined parts as a new message in the current folder, although
90 this can be changed using storage formatting strings. You can then
93 to find out what's inside; possibly followed by
95 again to write the archive to a file where you can
96 subsequently uncompress and untar it. For instance:
101 msg part type/subtype size description
102 5 message/partial 47K part 1 of 4
103 6 message/partial 47K part 2 of 4
104 7 message/partial 47K part 3 of 4
105 8 message/partial 18K part 4 of 4
107 reassembling partials 5,6,7,8 to folder inbox as message 9
109 msg part type/subtype size description
110 9 application/octet-stream 118K
111 (extract with uncompress | tar xvpf -)
115 % uncompress < 9.tar.Z | tar xvpf -
119 Alternately, by using the
123 will automatically do the extraction for you:
128 msg part type/subtype size description
129 5 message/partial 47K part 1 of 4
130 6 message/partial 47K part 2 of 4
131 7 message/partial 47K part 3 of 4
132 8 message/partial 18K part 4 of 4
134 reassembling partials 5,6,7,8 to folder inbox as message 9
136 msg part type/subtype size description
137 9 application/octet-stream 118K
138 (extract with uncompress | tar xvpf -)
142 -- tar listing appears here as files are extracted
148 listing is generated, the files are extracted.
149 A prudent user will never put
153 file. The correct procedure is to first use
155 to find out what will be extracted. Then
159 to perform the extraction.
164 .ta \w'%etcdir%/ExtraBigFileName 'u
165 ^$HOME/\&.mh\(ruprofile~^The user profile
168 .SH "PROFILE COMPONENTS"
172 .ta \w'ExtraBigProfileName 'u
173 ^Path:~^To determine the user's nmh directory
174 ^Current\-Folder:~^To find the default current folder
178 mhbuild(1), mh-format(5), mhlist(1), mhshow(1), mhstore(1)
179 .I "Proposed Standard for Message Encapsulation"
185 .RB ` "\-from localmbox" '