[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] i just don't "get" it yet GOT IT? Good!
- Subject: [ale] i just don't "get" it yet GOT IT? Good!
- From: hne at hopnet.net (Keith Hopkins)
- Date: Wed, 17 Apr 2002 10:04:11 +0900
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.