Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/ksh
export TOADDR=name@email.com
export FROMDIR=/somedir
cd ${FROMDIR}
( cat <<-TEXT
Hi,
Please find enclosed all of the text files found
in the directory ${FROMDIR} as of $(date).
Sincerly, $(grep $(whoami) /etc/passwd| cut -d: -f5)
TEXT
for FNAME in *.txt
do
uuencode ${FNAME} ${FNAME}
done
) | mailx -s "${FROMDIR}/*.txt as of $(date)" ${TOADDR}