How to Copy Folder from one solaris machine to another?


 
Thread Tools Search this Thread
Operating Systems Solaris How to Copy Folder from one solaris machine to another?
# 8  
Old 07-22-2008
How to Copy Folder from one solaris machine to another?

@vaibhavvd

Thats pretty simple, use scp its secure...Suppose xxx.xxx.xxx.xx and yyy.yyy.yy.y are the IP's of the servers and you want to copy from x to y server, then the format is

Login to yyy.yyy.yy.y

scp username@xxx.xxx.xxx.xx:/Desktop/filename /Documents

scp -R username@xxx.xxx.xxx.xx:/directory_name /Documents

Now file will be copied to /Documents in y server. If it is folder as u asked then use -r with scp, or may be -R, am not sure if its upper case or lower case. It copies the recursively. To copy a directory or folder -r ot -R option shld be used with scp. Try to copy as root user coz u may encounter permission issues when a normal user tries to copy files to desktop or / etc etc...Enjoy your copying SmilieSmilie
# 9  
Old 07-22-2008
just note that scp will encrypt packets. this takes longer. small transfers will not see much of a different but larger ones... most likely.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Trying to share a folder between windows machine and VM

I was following the guide I found here for doing this and I reached the step where I added myself to the vboxsf group but I am still getting a permissions denied message when I try to get into the folder: ubuntu12@ubuntu12-VirtualBox: /media$ cd sf_Shared_files/ bash: cd: sf_Shared_files/:... (0 Replies)
Discussion started by: Circuits
0 Replies

2. Shell Programming and Scripting

How to copy files with the same filenames as those in another folder to that same folder?

Hello All A similar question like this was asked before but I need to change part of the question. I've two folders, Folder A contains some image files in 150 subfolders; Folder B contains text files in 350 subfolders. All image files in Folder A have the same filename as the text... (5 Replies)
Discussion started by: chlade
5 Replies

3. Shell Programming and Scripting

copy folder and its contents to another folder

Hi experts, I am coming to you with this basic question on copying a folder and its content from one location to another folder using PERL script. This is my requirement. I have a folder AB under /users/myhome I want to copy AB and its contents to /user/workspace. Finally it should... (1 Reply)
Discussion started by: amvarma77
1 Replies

4. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

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

5. IP Networking

RSH to Ubuntu machine from Solaris machine?

This is probably really basic compared to what you guys are usually talking about here, but I have a problem and I have no idea what to do about it. I try to RSH to my Ubuntu computer from my Solaris one and run into a dead end: >> rsh 192.168.1.103 ::ffff:192.168.1.103: Connection timed out... (4 Replies)
Discussion started by: Bradj47
4 Replies

6. Shell Programming and Scripting

Unzip folder on remote machine

Hi ! I am trying to automate FTP transfer of some folders from one unix machine (a) to another one (b). I run my shell script on machine a. The problem I face is how to unzip the folder at the machine b with script run in machine a. My first question: Is there any way to do this ? My... (10 Replies)
Discussion started by: siba
10 Replies

7. Shell Programming and Scripting

Find all text files in folder and then copy to a new folder

Hi all, *I use Uwin and Cygwin emulator. I´m trying to search for all text files in the current folder (C/Files) and its sub folders using find -depth -name "*.txt" The above command worked for me, but now I would like to copy all found text files to a new folder (C/Files/Text) with ... (4 Replies)
Discussion started by: cgkmal
4 Replies

8. Solaris

Best possible communication mechanism between a Solaris machine and a windows machine

hi, I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this. the constraints are > the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies

9. UNIX for Advanced & Expert Users

Auto copy for files from folder to folder upon instant writing

Hello all, I'm trying to accomplish that if a file gets written to folder /path/to/a/ it gets automatically copied into /path/to/b/ the moment its get written. I thought of writing a shell script and cron it that every X amount of minutes it copies these files over but this will not help me... (2 Replies)
Discussion started by: Bashar
2 Replies

10. UNIX for Dummies Questions & Answers

how to copy/move folder on XP to Solaris?

I have created a folder on C:\images\Raffles.jpg on my PC, and I like to copy or move to Solaris server. How can I do that? Please advise. Thanks in advance. (2 Replies)
Discussion started by: simt
2 Replies
Login or Register to Ask a Question