|
Thanks Shaw!
Can I review to make sure I 'get' it?
Line:
5 - 9: Are these variables? Do I just type in the values here? With quotes or no quotes around text?
8-9: Do I leave these remarked out (and blank) since the script is run from the system that would reference these?
11: does this line create the secure telnet AND transfer the file?
12: is this line needed if line 11 is used? Looks like it just creates another secure telnet connection.
13: This decompresses the compressed file. If line 11 doesn't transfer the file an line 12 just creates the telnet connection, don't I need to transfer the file before this line?
14: terminates the script
15: tells us WINDOZE users that this is the last line of the script! LOL
Once again,
Thank you!!!
Tron Of Borg
--------------SCRIPT-----------------
1. #begin transfer script
2. #written by shawn on 3/9/02 to avoid art history 3. homework
4. #for BACC-Core
5. domain = ;
6. remote_user = ;
7. remote_host = ;
8. #local_user = ;
9. #local_host = ;
10. tar -cpzf $domain.tar.gz *;
11. scp $domain.tar.gz $remote_user@$remote_host:$domain.tar.gz;
12. ssh $remote_user@$remote_host;
13. tar -zxf $domain.tar.gz;
14. exit;
15. #end script
|