Peter Delevoryas <[EMAIL PROTECTED]> writes:
>> In case anyone has tried, you can't just automate AFS backups by
>> sending the "backup" some strings ( I know I tried ).
I've been able to do that. I used the following method in KSH:
Build the list of commands (not in a file, but in a shell variable
CMD). Then I used the following command to call AFS backup:
( print $CMD; cat ) | backup
This executes the commands from CMD, and allows me to interactively
work with backup to query how the jobs are doing. I do have to use
the 'Ctrl-D' method of exiting backup though. This is really telling
cat it's found the end of the file and then backup terminates because
it's input closed. If I use the backup "quit" command, then I still
have to use the 'Ctrl-D' to get the cat to end.
,,,
(o o)
-------------------------------+-----------------oOO--(_)--OOo----------
Frank Swasey | IBMIPNET: [EMAIL PROTECTED]
I&TSS NorthEast Region | Internet: [EMAIL PROTECTED]
Distributed Computing Services | BITNET: FSWASEY at VNET
D54/615-1 | VNET: FSWASEY at BTV
(802) 871-4011 (tie 435) | fax: (802) 871-4253 (tie 435)