10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
Hi, i want to call the rsync in a shell script so that i can run it in background by passing the password within script itself. Can any one please let me know how can i provide the password in the shell script itself so that rsync will read the password when promted by the script.
Its very... (11 Replies)
Discussion started by: Little
11 Replies
2. Shell Programming and Scripting
hi,
i am writing a shell script in which i read a line in a variable.
FNAME="s1.txt s2.txt s3.txt s4.txt s5.txt"
i want to create a array and store single file names in a array..
so the array should contain
arr="s1.txt"
arr="s2.txt"
arr="s3.txt"
arr="s4.txt"
arr="s5.txt"
how to... (3 Replies)
Discussion started by: Little
3 Replies
3. Shell Programming and Scripting
Hi. I wanted to create a Perl script which can take the outputs of a Perl script as it's input and temporarily store them in a document. Need help.
Thanks.:) (8 Replies)
Discussion started by: xtatic
8 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Can you please advise a script for the following:
write linux service named system_up_duration .This service... (6 Replies)
Discussion started by: fed.linuxgossip
6 Replies
5. Shell Programming and Scripting
Hi,
Can you please advise a script for the following:
write linux service named system_up_duration .This service will create one file named uptime in directory ‘/temp/'. In this file the service will store the total time for which the system is up and running .The file will be updated after... (1 Reply)
Discussion started by: fed.linuxgossip
1 Replies
6. Shell Programming and Scripting
Hello,
for an automated telnet login script I need to store a password on the server. Is there a possibility to store the password in an encrypted form and decrypt it every time the login is performed? Are there any ideas
Love, Sally (5 Replies)
Discussion started by: Sally[-_-]
5 Replies
7. OS X (Apple)
Hey there, I'm trying to do a very simple rsync to back up my computer to an external drive connected via usb every night, but it keeps asking for a password. I tried using the password file flag, but it looks like that is only a daemon. Does anyone have any ideas? This has eaten up a lot of my... (4 Replies)
Discussion started by: aarond
4 Replies
8. AIX
OK, I am stuck and could use some help here.
I have a RSYNC script that I wrote to where I would like to have the users password "never" initiated. I been trying to get the /etc/rsyncd.secrets file to work, but keep getting error messages. But I think it has to do with the way my script is... (2 Replies)
Discussion started by: tfort73
2 Replies
9. Shell Programming and Scripting
Hi,
I am tranfering the files from local machine to remote machine using rsync utility but it is prompting password. but i don't want to provide through prompt. how can i give in my shell script.
can anyone suggest me.Thanks in advance
rsync -rvcpogtl -e "ssh $LOCAL_PORT" $SOURCE_DIR... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies
10. UNIX for Advanced & Expert Users
Hi ,
I am trying to call rsync from a perl script. I do not want to get promted for each file transfer.
Is there is any way i can avoid prompting for password?
I tried to store it in file and use rsync --password-file option.
Command : $rsync --password-file=pass.txt -crgpto -e /usr/bin/ssh2 -v... (1 Reply)
Discussion started by: mandira
1 Replies