10-16-2013
Search forum for SCP !
Quote:
Originally Posted by
NarayanaPrakash
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
Hello,
search this Forum for scp and you'll find a lot of hints.
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i want to run some solaris executable program (text file). i telnet to solaris machine. the text file is on the net drive h: or my local drive on windows system.
how can i copy the text file from local drive in windows to remote machine in solaris system?
thanks. (4 Replies)
Discussion started by: gary
4 Replies
2. UNIX for Advanced & Expert Users
Can anyone tell me how can i copy data in LINUX Machine to windows XP
Thanks,
Sandeep (2 Replies)
Discussion started by: bsandeep_80
2 Replies
3. UNIX for Dummies Questions & Answers
I am logged into a server via SSH.
There is a file on my desktop of my Windows PC I would like to put on that server.
How do I do it?
SCP looks the likely method but how does the server know where the file is on the local machine?
Thanks. (2 Replies)
Discussion started by: Sepia
2 Replies
4. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
5. Shell Programming and Scripting
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies
6. Shell Programming and Scripting
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies
7. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
8. Shell Programming and Scripting
Need Shell Script to copy files from hp unix to windows server 2008
I tried to google and found some options but nothing worked
I want a script to copy a file in unix to windows server so I can schedule the script on daily basis.Please help me its more needful for me.
Let me know if any... (4 Replies)
Discussion started by: Lucky2Bv
4 Replies
9. Shell Programming and Scripting
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies
10. Shell Programming and Scripting
I need to run a local shell script on a remote machine. I am able to achieve that by executing the command
> ssh -qtt user@host < test.sh
However, when I try to pass arguments to test.sh it fails.
Any pointers would be appreciated. (7 Replies)
Discussion started by: Sree10
7 Replies
LEARN ABOUT DEBIAN
dtc-xen_migrate
dtc-xen_migrate(8) System Manager's Manual dtc-xen_migrate(8)
NAME
dtc-xen_migrate - migrate a VPS to another Xen server
SYNOPSIS
LOCAL_VPS_ID DESTINATION_HOSTNAME [ DEST_VPS_ID ]
DESCRIPTION
dtc-xen_migrate This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server. Note
that you need rsync in both the source and the destination dom0.
This script is used to move the content of a Xen virtual machine (VM) managed with dtc-xen to another Xen server of the same type. The VM
destination will first be prepared, then the local VM will be shut down, then it's content will be transfered over using rsync.
Note that this is NOT a live migration, and down time of approximatively the time needed for the rsync will occure.
PARAMETERS
LOCAL_VPS_ID The DTC-Xen id of the VM, from 00 to 99.
DESTINATION_HOSTNAME Destination Xen server hostname to migrate to.
DEST_VPS_ID Destination DTC-Xen id of the VM, from 00 to 99.
EXAMPLE
dtc-xen_migrate 19 alpha.example.com 21
This will migrate the content of xen19 on the local machine to the destination server alpha.example.com using xen21 as VM name.
SEE ALSO
dtc_reinstall_os(8), dtc_kill_vps_disk(8)
dtc-xen_migrate(8)