Path: utzoo!attcan!uunet!ogicse!unicorn!n8735053 From: n8735053@unicorn.cc.wwu.edu (Iain "Niai" Davidson) Newsgroups: comp.unix.questions,wwu.general Subject: Re: How can I send a file through MAIL? Message-ID: <1990Nov25.193518.23239@unicorn.cc.wwu.edu> Date: 25 Nov 90 19:35:18 GMT References: Distribution: comp Organization: Western Washington University, Bellingham WA. Lines: 25 hobbit@shum.UUCP (yoav gonen) writes: >How can I send a file through MAIL? Now let's see if I can do this off the top of my head... (see uuencode and other man pages for further info) $ uuencode file.txt file.txt | mail hobbit@shum.uucp or a better way for a group of files in the current directory... $ tar cf file.tar . $ compress file.tar $ uuencode filt.tar.Z file.tar.Z | mail hobbit@shum.uucp and on the other end (after saving the mail message) $ uudecode file.tar.Z.uue $ uncompress file.tar.Z $ tar xf file.tar I'm sure I'm going to get flamed if wrong... :-) -- I.Davidson, A)BITS@wwu.edu B)uw-beaver!wwu.edu!IAIN C)n8735053@unicorn.wwu.edu