home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
pocketbk
/
developmen
/
x_psion
/
psion.progs
/
pscmd
/
downloadagn.pscmd
< prev
next >
Wrap
Text File
|
1993-08-04
|
767b
|
24 lines
# this file will copy the /var/spool/calendar/callog.$USER
# file to the local directory, run cmmerge on it,
# remove the callog.$USER and callog.new files, download the
# agenda file .[SUNAGNFILE] file to the M:\agn\[AGNNAME]
# and remove the .[SUNAGNFILE]
#
# setup the variables
ifusetv SUNAGNFILE new.agn
ifusetv AGNNAME sunco1.agn
ifusetv AGNPARTITION m:
ifusetv AGNDIR agn
#
# get the calendar file
echo Getting the Sun CM file
! rcp $MAILSERVER:/var/spool/calendar/callog.$USER .
# get the psion agn file
echo Getting the Psion agn file
get [AGNPARTITION] [AGNDIR] [AGNNAME]
! cmmerge callog.$USER [AGNNAME]
echo Transmiting file
put [AGNPARTITION] [AGNDIR] [AGNNAME] [SUNAGNFILE]
! chmod 666 callog.$USER
! rm callog.$USER callog.new [SUNAGNFILE] [AGNNAME]