5 # Send multiples files and/or directories as a tar/compressed
6 # image, in a MIME message.
13 -*) DELAY="`echo $1 | sed -e 's%-%%'`"
18 if [ ! -z "$PERSON" ]; then
23 echo 'usage: sendfiles: "mailpath" "subject-string" directory-or-file ...' 1>&2
28 echo "mailpath = $mailpath" 1>&2
32 echo "subject-string = $subject" 1>&2
35 echo "files = $*" 1>&2
37 tar cvf - "$@" | compress | \
38 viamail -to "$mailpath" -subject "$subject" \
39 -parameters "type=tar; x-conversions=compress" \
40 -comment "extract with uncompress | tar xvpf -" \