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
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
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
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
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
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
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
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
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
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 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
WBOX(1) General Commands Manual WBOX(1)
NAME
wbox - HTTP testing tool and configuration-less HTTP server
SYNOPSIS
wbox <url> [ options ]
wbox servermode webroot <path> [serverport <portnumber> (def 8081)]
DESCRIPTION
wbox aims to help you having fun while testing HTTP related stuff. You can use it to perform many tasks, including the following:
- Benchmarking how much time it takes to generate content for your web application.
- Web server and web application stressing.
- Testing virtual domains configuration without the need to alter your local resolver.
- Use it as a configuration-less HTTP server to share files!
OPTIONS
<number>
Stop after <number> requests
compr Send Accept-Encoding: gzip,deflate in request
showhdr
Show the HTTP reply header
dump Show the HTTP reply header + body
silent Don't show status lines
head Use the HEAD method instead of GET
http10 Use HTTP/1.0 instead of HTTP/1.1
close Close the connection after reading few bytes
host <hostname>
Use <hostname> as Host: field in HTTP request
timesplit
Show transfer times for different data chunks
wait <number>
Wait <number> seconds between requests. Default 1.
clients <number>
Spawn <number> concurrent clients (via fork()).
referer <url>
Send the specified referer header.
cookie <name> <val>
Set cookie name=val, can be used multiple times.
maxclients <number>
Max concurrent clients in server mode (default 20).
-h or --help
Show this help.
-v Show version.
USAGE EXAMPLES
wbox wikipedia.org (simplest, basic usage)
wbox wikipedia.org 3 compr wait 0 (three requests, compression, no delay)
wbox wikipedia.org 1 showhdr silent (just show the HTTP reply header)
wbox wikipedia.org timesplit (show splitted time information)
wbox 1.2.3.4 host example.domain (test a virtual domain at 1.2.3.4)
wbox servermode webroot /tmp/mydocuments (Try it with http://127.0.0.1:8081)
TUTORIAL
Wbox is trivial to use but, in order to understand better what wbox is and how to use it, you may want to read the TUTORIAL inside the
/usr/share/doc/wbox/ directory.
AUTHOR
wbox was written by Salvatore 'antirez' Sanfilippo <antirez@gmail.com>.
This manual page was written by Alberto Furia <straluna@email.it>, for the Debian project (and may be used by others).
December 10, 2009 WBOX(1)