10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies
2. Shell Programming and Scripting
Hello Folks,
I have two linux server accounts server1 and server2
From the terminal if I say this command,
scp /source/folder/from/server1/unix.txt user@server2.com:/destination/folder/
Then it prompts for the password
user@server2.com's password:
I enter my password and then it... (1 Reply)
Discussion started by: jacobs.smith
1 Replies
3. Shell Programming and Scripting
Hi,
I am currently using a shell script to transfer file to another machine non-stop using scp . below is my code :
#!/bin/bash
while :
do
scp /home/pc3/Desktop/b.html pc1@192.168.1.102:/home/pc1/Documents
done
After it transfer the first image, it needs 5 seconds to send the second... (9 Replies)
Discussion started by: Ericyue
9 Replies
4. UNIX for Advanced & Expert Users
I want to make a script to automate printer adding task.My inputs are like
Printer name : xyz
Port number :9001
I should write a script to make the Printer adding task will be automated.
Like in manually adding task we are doing through hppi or jetadmin tools.
---------- Post updated at... (2 Replies)
Discussion started by: AnilKPatnaik
2 Replies
5. Shell Programming and Scripting
Hi All,
I am a total noob to the Unix world, and i hope to learn a lot from this wonderful community. Here's my first post and question , i am trying to SCP a file to multiple servers (multiple destinations) through this little script :
#!/bin/ksh
# copy files
# File to be copied... (7 Replies)
Discussion started by: rdlover
7 Replies
6. Shell Programming and Scripting
Is there a way to connect betwwen two servers A and B without using prompting for a password .....
I am writing a script which includes picking up files from and puts them to B. using mget ..
To make the script fully automable I am looking for a passwordless authentication...
Any... (2 Replies)
Discussion started by: ultimatix
2 Replies
7. UNIX for Dummies Questions & Answers
I have four servers that for all intents and purposes are the same (I have the same profile on all four), North, South, Brooklyn & Queens.
I have a script that scp's a file from Queens to brooklyn, and it runs just fine. I tried to replicate the script on South, to transfer a file to North, and... (1 Reply)
Discussion started by: DeCoTwc
1 Replies
8. Shell Programming and Scripting
Hi,
Currently, i am using sftp manully to transfer files between two secure servers. Can anyone provide me a sample shell script which can automate the sftp process? (11 Replies)
Discussion started by: borncrazy
11 Replies
9. Shell Programming and Scripting
I have a couple of servers that can't see each other and need to copy files from one to the other. I try to invoke scp from a 3rd server that can see both servers - get error msgs that are cryptic.
from server C
I can do
scp user@serverA:~/file .
scp file user@serverB:~
but if I try to... (2 Replies)
Discussion started by: bigjohn-nj
2 Replies
10. Shell Programming and Scripting
Hi
I wounder if some one knows how to make a script to automate user adding?
When i am starting the script it will add user like 04pers00 and fowllowing untill that i'm quit.
The password will be a standard password typed in the file.
I'm unsing Sun solaris 9 on Intel
Sorry for my... (1 Reply)
Discussion started by: steffa
1 Replies