Revision 8,
639 bytes
checked in by jtkohl, 39 years ago
(diff) |
Initial revision
|
Line | |
---|
1 | # |
---|
2 | #tar up files, pipe through btoa to mail. |
---|
3 | #recieve by saving mail in temp file, then "untarmail temp" |
---|
4 | if ($#argv < 3) then |
---|
5 | echo "usage: tarmail mailpath subject-string directory-or-file-name(s)" |
---|
6 | exit |
---|
7 | else |
---|
8 | set mailpath = $1 |
---|
9 | echo mailpath = $mailpath |
---|
10 | shift |
---|
11 | set subject = $1 |
---|
12 | echo subject-string = $subject |
---|
13 | shift |
---|
14 | echo files = $* |
---|
15 | tar cvf - $* | btoa | mail -s $subject $mailpath |
---|
16 | endif |
---|
17 | exit |
---|
18 | # |
---|
19 | # $Source: /afs/dev.mit.edu/source/repository/athena/bin/tarmail/tarmail,v $ |
---|
20 | # $Author: jtkohl $ |
---|
21 | # $Locker: $ |
---|
22 | # $Header: /afs/dev.mit.edu/source/repository/athena/bin/tarmail/tarmail,v 1.1 1985-04-25 20:37:22 jtkohl Exp $ |
---|
23 | # |
---|
Note: See
TracBrowser
for help on using the repository browser.