[ale] i just don't "get" it yet GOT IT? Good!
Keith Hopkins
hne at hopnet.net
Tue Apr 16 21:04:11 EDT 2002
ChangingLINKS.com wrote:
>
> Thank you all for your help on this. Now in a "but wait, it gets worse"
> fashion: Is there anyway to make this a .sh script that I can click on? How
> does the sh script know to wait for the file to get tarred and transfered
> before deleteing the file (there is a time delay)?
>
something like.....
#!/bin/sh
tar ...options... && \
scp ...options... && \
rm ...options...
##EOF
----cut----
tar happens first, if it completes without an error, then...
scp happens, if it completes without an error, then...
rm happens
--
Lost in Tokyo,
Keith
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list