10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need a script to automatically scp the latest files on DIR1,DIR2 and DIR3 from Source to destination server at same place(DIR1,DIR2 and DIR3) . Further details are:
Source Server (192.168.1.5)
DIR1
DIR2
DIR3
Destination Server (192.168.1.10)
DIR1
DIR2
DIR3 (7 Replies)
Discussion started by: refra
7 Replies
2. Shell Programming and Scripting
Hi all,
I have a backup script from my work computer to my home computer for my research for multiple reasons. It's a simple rsync script, with about 5 gigs of data. (Obviously with rsync it doesn't transfer 5 GB every time.).
Recently, it has stopped working, scp also doesn't work, it simply... (1 Reply)
Discussion started by: corrado33
1 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone,
In a script, I am using SCP to copy huge file to another host.
scp -qrp hugefile.txt /opt/perf05/tmp
However, we have noticed that this file is not being copied. I am suspecting this was because we are losing connection while copying this... (1 Reply)
Discussion started by: qwarentine
1 Replies
4. Programming
I would like to create console application in c# to automate the process of downloading some files from a SFTP server to my local hard drive at a set time each week/day.
SFTP Server installed OpenSSH for windows and client machine also.
Any ideas how I could do such a task? or sample code.
... (0 Replies)
Discussion started by: sufiiyan
0 Replies
5. Shell Programming and Scripting
All,
I am using a for loop to SCP a bunch of files in a directory. I am having it then drop a .ready file name. Is there a way to check for the success of all iterations and then email upon fail or success?
Example of part of my script:
for file in $ORIGLOC/*
do
] &&... (2 Replies)
Discussion started by: markdjones82
2 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am having trouble transferring files from a source UNIX machine to a
destination UNIX machine by hopping via 2 gateway machines.
The user used for the transfer has been setup/authorized so no password is
required to login. Summerized:
source to gateway1 to gateway2 to destination ... (2 Replies)
Discussion started by: Solarius
2 Replies
7. Shell Programming and Scripting
Hi guys,
I need to automate scp downloads from a server to which I do not have the ability to upload my public key for automatic logins.
I know there is something called expect, but I wasn't sure if that was the best way to go. Basically I am executing a scp download command and I need the... (2 Replies)
Discussion started by: caprica13
2 Replies
8. UNIX for Dummies Questions & Answers
hi every one..
i am new to working in unix environment..
i have a problem in transferring files using scp command..
i am transferring files using scp command on one unix manchine to another unix machine..
the syntax is scp -r sourcedirectory destination directory
The files in sourcedirectory... (1 Reply)
Discussion started by: GovindGembali
1 Replies
9. UNIX for Dummies Questions & Answers
How can one find the name and size of files ftp'ed during an old ftp transfer.
Is there any log where these details are stored or any UNIX command which can provide these details.
Thanks in advance. (4 Replies)
Discussion started by: Nakul Mukerjee
4 Replies
10. Shell Programming and Scripting
I'm in the process of writing a shell script with copies files from one linux box to another using scp. I wish to run this through a cronjob so it cannot be interactive.
This is what I have so far.
#!/bin/sh
PASSWD='passswd'
dateset=$( date | awk '{print $2 $3 $6}')
for dates in $dateset;... (1 Reply)
Discussion started by: tcruicksh
1 Replies