08-11-2017
People in here will be happy to help you improve, extend, and correct your script, so - any attempts / ideas / thoughts from your side?
You might want to start by assembling in a file all the commands used hitherto to collect manually.
This User Gave Thanks to RudiC For This Post:
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file --> file1.txt
i need to copy this file to another server using FTP....the 2 servers are server1 and server2..may i know how to write a script that can do this?
thanks in advance! Im a newbie to this... (4 Replies)
Discussion started by: forevercalz
4 Replies
2. HP-UX
I have numerous N-class servers with internal and external disks that I need to wipe. Does anyone have any ideas to do this quick and painless. Anything other than a sledge hammer Also, do I need to be in single-user mode and if so how do I do that? Servers are running 11.11
Thanks (3 Replies)
Discussion started by: itry
3 Replies
3. UNIX for Dummies Questions & Answers
Suppose I have a script named "sc.sh"
in the script how to print out its name "sc.sh"? (3 Replies)
Discussion started by: meili100
3 Replies
4. Shell Programming and Scripting
Hi,
Please advice whether my below requirement is feasible,
My requirement : Automated FTP from linux server to windows server using a shell script on every monday.
If feasible, please help me how to do this ?
Thanks in advance (2 Replies)
Discussion started by: apsprabhu
2 Replies
5. Shell Programming and Scripting
Hi
Can any one help me for script. I need a script and this script has to execute daily to move the files.
FTP from one server to another server
EX: Sep 10 06:24 abc.txt
Sep 11 06.56 abc.txt
Sep 12 08.23 abc.txt
these files are located at a/b/c/e/f in 123 server and copy... (0 Replies)
Discussion started by: mahantysk
0 Replies
6. Shell Programming and Scripting
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies
7. Shell Programming and Scripting
Hi ,
Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file.
We want to copy a file on multiple servers and run the installation.
Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
9. Shell Programming and Scripting
local script:
cat > first.sh
cd /tmp
echo $PWD
echo `whoami`
cd /tmp/123
tar -cvf 789.tar 456
sleep 10
except script:
cat > first
#!/usr/bin/expect
set ip 10.5.15.20
set user "xyz123"
set password "123456"
set script first.sh
spawn sh -c "ssh $user@$ip bash < $script" (1 Reply)
Discussion started by: Aditya Avanth
1 Replies
LEARN ABOUT DEBIAN
extend
extend(1) General Commands Manual extend(1)
NAME
extend -- produce an extended elevation from a .3d file
SYNOPSIS
extend [--specfile configuration .espec file] input .3d file [output .3d file]
Description
Note:
The extend program can also work on Compass .plt (as can aven and any other Survex program which reads .3d files).
If no specfile is given, extend starts with the highest station marked as an entrance which has at least one underground survey leg
attached to it. If there are no such stations, the highest deadend station in the survey (or the highest station if there are no deadends)
is used. Extend puts the first station on the left, then folds each leg out individually to the right, breaking loops arbitrarily (usually
at junctions).
If the output filename is not specified, extend bases the output filename on the input filename, but ending "_extend.3d". For example,
extend deep_pit.3d produces an extended elevation called deep_pit_extend.3d.
This approach suffices for simple caves or sections of cave, but for more complicated situations human intervention is required. More com-
plex sections of cave can be handled with a specfile giving directions to switch the direction of extension between left and right, to
explicitly specify the start station, or to break the extension at particular stations or legs.
The specfile is in a format similar to cavern's data format:
;This is a comment
; start the elevation at station entrance.a
*start entrance.a ;this is a comment after a command
; start extending leftwards from station half-way-down.5
*eleft half-way-down.5
; change direction of extension at further-down.8
*eswap further-down.8
; extend right from further-down.junction, but only for
; the leg joining it to very-deep.1, other legs continuing
; as before
*eright further-down.junction very-deep.1
; break the survey at station side-loop.4
*break side-loop.4
; break survey at station side-loop.junction but only
; for leg going to complex-loop.2
*break side-loop.junction complex-loop.2
This approach requires some trial and error, but gives useful results for many caves. The most complex systems would benefit from an
interactive interface to select and view the breaks and switches of direction.
See Also
3dtopos(1), aven(1), cad3d(1), cavern(1), diffpos(1), sorterr(1), svxedit(1)
extend(1)