9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
2. UNIX and Linux Applications
Hi,
I am trying to do scp from server A to server B. But while doing the scp i am getting the following message.
+-----------------------------------------------------------------+
| This system is for the use of authorized users only. |
| Individuals using this computer system... (6 Replies)
Discussion started by: sidh_arth85
6 Replies
3. Shell Programming and Scripting
Hi All,
Please help on the below command
scp -r 'directory name'inrvgo@IP:/export/home/muthu/prod_12-09-2010
I am trying to copy a directory from one server to another server using the above command but its displaing the error
(missing destination file) but the diectory was there in the... (1 Reply)
Discussion started by: thelakbe
1 Replies
4. AIX
1. how to move files in a directory using scp ?
2. how to move the entire directory ?
3. Will the file and the directory permissions affect scp usage? (1 Reply)
Discussion started by: samsungsamsung
1 Replies
5. Shell Programming and Scripting
I normally download a directory recursively using:
scp -r <name>@host:<path> .
This has worked fine. As everyone knows this will download all of the directory named in <path> and all of the sub directories.
I would like to know if it is possible to not download a particular file if it... (5 Replies)
Discussion started by: cpabrego
5 Replies
6. Shell Programming and Scripting
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies
7. Shell Programming and Scripting
Hi Unix gurus,
I created this script to automate the copying of files daily from one server to another using the scp command.
-->
#!/bin/ksh
KEY="$HOME/.ssh/SSHKEY"
if ;then
echo "Private key not found at $KEY" >> $LOGFILE
echo "* Please create it with \"ssh-keygen -t dsa\" *" >>... (1 Reply)
Discussion started by: gholdbhurg
1 Replies
8. UNIX for Advanced & Expert Users
hi all
in my script i was using the "scp" command to copy 2 files from a certain directory on server A to the same directory on another server B, but for some reason its only copying the first file in the directory. This is the frst time that i used the scp command,any ideas appreciated.
thnks (5 Replies)
Discussion started by: bkan77
5 Replies
9. Shell Programming and Scripting
Hey Guys,
i am new into shell programming and i have to do one script which have to record all the commands entered by a specific user.
Example of that, i have a system running on unix, several users are using this system, i have to create like a databse which will record every user entered that... (5 Replies)
Discussion started by: charbel
5 Replies