Sponsored Content
Top Forums Shell Programming and Scripting copying files from remote computer Post 302233108 by dennis.jacob on Saturday 6th of September 2008 04:24:21 AM
Old 09-06-2008
Many options are available including ftp,sftp,scp..

For ex:

scp username@hostname:source_file destination file
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

transferring files to and from remote computer

Hi all, i first have to ssh into my university account and then through there another ssh into my office computer, from my home computer. I have been trying to transfer files to and from with no such luck. How do i send a file from home to my office computer. Do I have to send it to my... (6 Replies)
Discussion started by: yogi1
6 Replies

2. AIX

copying files to a remote aix server using tar!

Hi, I am using AIX 5.2, and I want to copy some files from one server to a remote server using tar command. Can anybody tell me exact command? Thanks. Aqeel (2 Replies)
Discussion started by: system-admin
2 Replies

3. UNIX for Dummies Questions & Answers

Copying files from laptop to remote server using SSH

Hello, I'm sorry if this sounds like a very simple question, but I'm having some difficulty with it being a complete newbie to UNIx. I use Windows, and always have, but need some UNIX access for work, picking up files from our group space, etc. Basically, I'm using Cygwin and can SSH into the... (3 Replies)
Discussion started by: patwa
3 Replies

4. Shell Programming and Scripting

Copying specific files from remote m/c to specific folders

Hi All, I am trying to rsync some of the latest files from remote m/c to my local linux box. Folder structure in my remote m/c looks like this /pub/Nightly/Package/ROLL/WIN /pub/Nightly/Package/SOLL/sol /pub/Nightly/Package/SOLL/linux Each of the folder contains gzip files which on daily... (0 Replies)
Discussion started by: jhoomsharabi
0 Replies

5. UNIX for Dummies Questions & Answers

Copying files from a remote server to local system with cygwin

Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc. At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies

6. UNIX for Dummies Questions & Answers

Copying files to a remote NFS filesystem

Hi guys Maybe a stupid question.. IS possible, in unix, to copy files to a remote NFS shared filesystem without mounting it? Just like windows does: copy * \\folderA\folderB Thanks.. (4 Replies)
Discussion started by: iga3725
4 Replies

7. UNIX for Dummies Questions & Answers

Copying from remote SunOS to local Windows 7 computer

Can someone please help me with copying from remote computer to local computer? I have Winscp installed but for some reason i can seem to get into the server using winscp. I am currently logged on to the server, so its not a case of remote host unavailable. I really am not sure if the syntax... (2 Replies)
Discussion started by: dollypee
2 Replies

8. UNIX for Dummies Questions & Answers

Help with Copying files between two remote servers

Hi All, Please help me for a shell. I am a New to unix I am trying to DB dump file from one server and copying it to another server. From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC. I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies

9. Shell Programming and Scripting

Copying files to remote server

I am trying to copy code to remote server, doing something like this However it is copying one file and than the script exits i=0; j=0 while read fn; do dir=${fn%/*} # Gets directory path fnm=${fn##*/} # Gets filename excl. path rgx_nwk="s/${nwk}/${nwk}.sac/g" ... (2 Replies)
Discussion started by: kristinu
2 Replies
cmcp(1m)																  cmcp(1m)

NAME
cmcp - Copy files between Serviceguard nodes SYNOPSIS
cmcp [-rv] [src_node:]src_file [...] [dest_node:]dest_file DESCRIPTION
cmcp copies files and/or directories between Serviceguard nodes. cmcp is limited in several ways. cmcp is best suited for situations where other remote copy facilities are not available. For a more full featured tool for copying files between Serviceguard nodes, see ccp(1m) provided by Distributed Systems Administration Utilities. To use this command, the local user must have the root access role on each of the involved nodes. For more information on Serviceguard access control policies, see the manual, Managing Serviceguard. Paths may be relative to the current working directory or specified absolutely. The current working directory on a remote node is assumed to be the same as the local node's directory. Copies between two remote hosts are permitted. If a file or directory already exists on the destination node, the destination node's copy will be overwritten with no prompting. The cmcp command is not suited for large files or large numbers of files and may result in a heavy load on the command and Serviceguard daemons. Other tools such as ccp should be considered for these purposes. Options And Arguments -r Recursively copy entire directories. -v Verbose output will be displayed. src_node Serviceguard node to retrieve the file from. Defaults to the local node. src_file Path to source file on src_node. dest_node Serviceguard node to copy file to. Defaults to the local node. dest_file Path to copy src_file to on the dest_node. RETURN VALUE
cmcp returns the following values: 0 Successful completion. 1 Command failed. EXAMPLES
Copy the local file /etc/hosts to remote node node1 cmcp /etc/hosts node1:/etc/hosts Copy the remote file /etc/passwd on node1 locally cmcp node1:/etc/passwd /tmp/passwd.poe Copy a local script directory to a remote node cmcp -r /etc/cmcluster/scripts node1:/etc/cmcluster AUTHOR
cmcp was developed by HP. SEE ALSO
rcp(1), scp(1), ccp(1m), cmsync(1m), cmexec(1m), cmdo(1m), cmquerycl(1m), cmviewcl(1m) Requires Optional Serviceguard Software cmcp(1m)
All times are GMT -4. The time now is 11:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy