Sponsored Content
Special Forums UNIX and Linux Applications Copy folder and its contents from HP Unix server to RH Linux Post 302260961 by FanTom on Saturday 22nd of November 2008 11:26:43 AM
Old 11-22-2008
Copy folder and its contents from HP Unix server to RH Linux

I am trying to copy a folder and all its contents from HP Unix box to RH linux, using the following.

rsync -avz -e "ssh" /users/www/webroot/docFiles/Division/Ctry ftpuser@10.4.xxx.yz:/data/webroot/de...n/Ctry/QAfiles

And it throws a consistent error and not copying(doing sync up).

Help appreciated.

Thanks,
FanTom
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

copy folder contents

I need to make a new dir in side the dir lab5 the new dir is called testLab5 without changing directories copy all files from your lab5 directory into your testLab5 directory then i have to without chaning directories and using exactly one command remove all files that start with the... (1 Reply)
Discussion started by: robsk8_99
1 Replies

2. UNIX for Dummies Questions & Answers

copy folder from one server to another

Dear ALL I have two Sco Unix ver 5.0.5 servers and i want to copy one folder from server A (IP 192.168.0.1) to server B(IP 192.168.0.2). I want a script file using maybe "ftp" to do the job Kindly any help (11 Replies)
Discussion started by: sak900354
11 Replies

3. UNIX for Advanced & Expert Users

How to copy folder from one server to remote one using SSH

ok guys. I have a Centos server running a large website I own. Its is severely struggling under the load and I am having to move to a new load balanced setup. The servers are both remote (to me) and although I can do most things admin wise in nix, I am struggling a bit to come up with a way... (1 Reply)
Discussion started by: anderow
1 Replies

4. Shell Programming and Scripting

copy contents of unix file to Word document

Hello, I have a unix file about 3000lines which i want to copy from and paste it into a Word document. If i cat the file and try to scroll through it then not everything is captured so i am getting and incomplete paste. Any help is really appreciated. jak (2 Replies)
Discussion started by: jakSun8
2 Replies

5. UNIX and Linux Applications

Need to copy the latest file from Unix server to Shared folder

Hi All, One job in unix server will generate .csv files daily. I need to copy the latest of these .csv file from the unix server to the shared drive/folder in windows through unix script. My shared folder will look something like W:\some folder(for example). Could any one of you please help... (3 Replies)
Discussion started by: jaya@123
3 Replies

6. 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

7. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

8. Shell Programming and Scripting

How to copy all the contents of a list of files present in a folder to a particular file?

Hi All, I want to copy all the contents of a list of files in a folder to a particular file. i am using following command: cat dir/* >> newFile.txtIt's not working. Could you please help? Thanks, Pranav (3 Replies)
Discussion started by: Pranav Bhasker
3 Replies

9. Shell Programming and Scripting

Copy one file from a server to a local folder

Hi, Is there a way I can copy a file from a server to a local folder (i.e. My Documents)? can it be done by scp? I tried this but it just rename the file as the folder it has to be transferred at. scp -r name@some_server:/home/user/file.txt 'somehere\home\home_dir' Thanks. (4 Replies)
Discussion started by: erin00
4 Replies

10. Shell Programming and Scripting

How do you compare two folders and copy the difference to a third folder in a remote server?

How do you compare one local folder and a remote folder and copy the difference to a third folder in a remote folder.e.g. Folder A -- Is in a remote server and it has the following files TEST1.OUT TEST2.OUT TEST3.OUT Folder B --Is in a local server and it has the following files ... (5 Replies)
Discussion started by: cumeh1624
5 Replies
VARIANT_DIV(3)								 1							    VARIANT_DIV(3)

variant_div - Returns the result from dividing two variants

SYNOPSIS
mixed variant_div (mixed $left, mixed $right) DESCRIPTION
Divides $left by $right and returns the result. PARAMETERS
o $left - The left operand. o $right - The right operand. Note As with all the variant arithmetic functions, the parameters for this function can be either a PHP native type (integer, string, floating point, boolean or NULL), or an instance of a COM, VARIANT or DOTNET class. PHP native types will be converted to variants using the same rules as found in the constructor for the "VARIANT" class. COM and DOTNET objects will have the value of their default property taken and used as the variant value. The variant arithmetic functions are wrappers around the similarly named functions in the COM library; for more information on these functions, consult the MSDN library. The PHP functions are named slightly differently; for example variant_add(3) in PHP cor- responds to VarAdd() in the MSDN documentation. RETURN VALUES
Variant Division Rules +--------------------------------------------------+---------------------------------------------------+ | If | | | | | | | Then | | | | +--------------------------------------------------+---------------------------------------------------+ |Both expressions are of the string, date, charac- | | |ter, boolean type | | | | | | | Double is returned | | | | |One expression is a string type and the other a | | |character | | | | | | | Division and a double is returned | | | | |One expression is numeric and the other is a | | |string | | | | | | | Division and a double is returned. | | | | | Both expressions are numeric | | | | | | | Division and a double is returned | | | | | Either expression is NULL | | | | | | | NULL is returned | | | | | $right is empty and $left is anything but empty | | | | | | | A com_exception with code DISP_E_DIVBYZERO is | | | thrown | | | | |$left is empty and $right is anything but empty. | | | | | | | 0 as type double is returned | | | | | Both expressions are empty | | | | | | | A com_exception with code DISP_E_OVERFLOW is | | | thrown | | | | +--------------------------------------------------+---------------------------------------------------+ SEE ALSO
variant_idiv(3). PHP Documentation Group VARIANT_DIV(3)
All times are GMT -4. The time now is 07:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy