← Back to team overview

sslug-teknik team mailing list archive

Re: Hvordan attacher man en fil i et script ?

 

On Wed, 25 Aug 1999, Poul Hansen wrote:

> Hvordan sender jeg en binær fil med mail fra et script ?
> Jeg har prøvet med 'cat test.pdf | mimencode | mail -s "test" ph'
> Men det bliver ikke en vedhæftet fil, men blot en masse tegn i body.

Kig på uuenview.

DESCRIPTION
       uuenview encodes a binary file into ASCII text for sending
       over non-8-bit electronic data channels, such as email  or
       the usenet.  uuenview is a superset of and fully backwards
       compatible with the standard uuencode(1) command,  featur-
       ing more comfort and more flexibility.

Pakken med den i hedder i SUSE:

$ rpm -qf /usr/bin/uuenview
sharutil-4.2c-72


-- 
==============================================================================
Erwin Andreasen   Herlev, Denmark <erw@xxxxxx>          UNIX System Programmer
<URL:http://www.andreasen.org>              <*>         (not speaking for) DDE
==============================================================================



References