[EMAIL PROTECTED] writes:
>I wonder if somebody could answer two questions for me.
>
>  How can I attach a directory (preferably compressed) and, recursively, its
>  contents to a message?

tar+gzip/zip it up into a file and attach the file to the message as described
in "man mhbuild" or do something like:

#application/x-gzip |tar -zcf - directory

To tar it up on the fly (instead of creating the tar file yourself and
attaching that). Replace the command with whatever command you want
to use to archive a directory.

>  How could I have answered this question for myself?  Neither "man mhbuild" nor
>  'cat /etc/nmh/mhn.defaults' helped.

"man mhbuild" tells you how to attach a file, and how to attach the output
of a program to a message.

It isn't going to tell you how to archive and compress a directory since that
isn't the domain of a mail client, that's the domain of an archive and/or a
compression program.

Just like it tells you how to attach an audio file, but doesn't tell you
how to create an audio file of the song you just wrote.




_______________________________________________
Nmh-workers mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to