I use rsync to keep a directory in synchronization betwen a Linux box with the hostname brutal and a Mac running OS X 10.5 (Leopard) with the hostname cooper. When I run the following command on my Linux machine:
rsync -avz --delete myuserid@cooper:/Library/WebServer/Documents /Library/WebServer/Documents
It works perfectsly, it mirrors exactly what I have on the Mac into the same directory structure. However, when I run the following command on my Mac:
It does begin to synchronize, but it always creates a new Documents directory under the structure I provided and ignores what is already there. So I get something that like this.
Why is this working differently and are there any suggestions. I believe even if I tried synchronizing using the following command I still encountered the exact same behavior.
All,
After a power loss I went to power on our sun fire v120 that is running solaris 10 and now it will not boot. I tried power cycling it from the lom and pulling the cord but nothing works. All it does is after a power cycle it will start to boot and then start to spit out a bunch of hex... (2 Replies)
I met a problem in using grep -P.
There is a text file, temp.txt, whose content is:
dddd
abc
I ran the command:
grep -P "\s*abc" temp.txt
The result I expected is:
abc
But, the actual result is:
dddd
abc
Could anyone tell me what is wrong?
Thanks. (2 Replies)
ok, there's a script i'm working on written in shell programming. #!/bin/sh
this script is written to spit out the contents of certain variables inside of it so the output looks something like this:
server01=89 server02=69 server03=89 server04=76
now, when i run this script from the... (4 Replies)
Hi there,
I'm using putty to connect to several servers. On every remote machine, the home key takes me at the beginning of a command line. Exept on one machine where a press on the home key outputs the tilde sign (~). Is there any place where I can override this behavior, I really prefer my... (6 Replies)
Hi Experts
I am facing a weird issue while using print statement in awk. I have a text file with 3 fields shown below:
# cat f1
234,abc,1000
235,efg,2000
236,jih,3000
#
When I print the third column alone, I dont face any issue as shown below:
# awk '{print $3 }' FS=, f1
1000
2000... (5 Replies)
Hi I am getting absurd behavior of escape character in echos as followed:oinlcso003{arsadm} #: echo "\as shdd"
\as shdd
oinlcso003{arsadm} #: echo "Well, isn't that \"special\"?"
Well, isn't that "special"?
oinlcso003{arsadm} #: echo "Well, isn't that \special\?"
Well, isn't that \special\?... (3 Replies)
Why could whatprovides not lookup this info for over 10 minutes, but install could install that package in less than a minute?
$ yum whatprovides */lsb_release
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
^Cupdates/group 18% 3.1 kB/s | 360 kB 08:28 ETA ... (0 Replies)
Can someone please explain what's wrong with the command i use below?
tr -c '\11\12\40-\176' ' '< $TEMP_FILE > $TEMP_FILE2
The invalid character/s is replaced with two spaces, the string2 only have 1 space in it. Please help.
Sample output:
333243,333244c333243,333244
< ... (1 Reply)
Hi there,
I am a bit puzzled by a weird behavior of Vi. I very simply would like to add increased numbers in some files. Since I have many thousands entries per file and many files, I would like to macro it in vi.
To do this, I enter the first number ("0001") on the first line and then yank... (4 Replies)
This really puzzles me. The following code gives me the error 'expr: syntax error' when I try to do multi-line comment using here document
<<EOF
echo "Sum is: `expr $1 + $2`"
EOF
Even if I explicitly comment out the line containing the expr using "#", the error message would still exist... (3 Replies)
Discussion started by: royalibrahim
3 Replies
LEARN ABOUT PHP
solrpingresponse
SOLRPINGRESPONSE(3) 1 SOLRPINGRESPONSE(3)The SolrPingResponse classINTRODUCTION
Represents a response to a ping request to the server
CLASS SYNOPSIS
SolrPingResponse
final
SolrPingResponseextends
SolrResponse
Constants
o const integer$SolrPingResponse::PARSE_SOLR_OBJ0
o const integer$SolrPingResponse::PARSE_SOLR_DOC1
Properties
Methods
o public SolrPingResponse::__construct (void )
o public void SolrPingResponse::__destruct (void )
o public string SolrPingResponse::getResponse (void )
Inherited methods
o public string SolrResponse::getDigestedResponse (void )
o public int SolrResponse::getHttpStatus (void )
o public string SolrResponse::getHttpStatusMessage (void )
o public string SolrResponse::getRawRequest (void )
o public string SolrResponse::getRawRequestHeaders (void )
o public string SolrResponse::getRawResponse (void )
o public string SolrResponse::getRawResponseHeaders (void )
o public string SolrResponse::getRequestUrl (void )
o public SolrObject SolrResponse::getResponse (void )
o public bool SolrResponse::setParseMode ([int $parser_mode])
o public bool SolrResponse::success (void )
PROPERTIES
o $http_status
-The http status of the response.
o $parser_mode
-Whether to parse the solr documents as SolrObject or SolrDocument instances.
o $success
-Was there an error during the request
o $http_status_message
-Detailed message on http status
o $http_request_url
-The request URL
o $http_raw_request_headers
-A string of raw headers sent during the request
o $http_raw_request
-The raw request sent to the server
o $http_raw_response_headers
-Response headers from the Solr server
o $http_raw_response
-The response message from the server
o $http_digested_response
-The response in PHP serialized format.
PREDEFINED CONSTANTS SOLRPINGRESPONSE CLASS CONSTANTS
o SolrPingResponse::PARSE_SOLR_OBJ -Documents should be parsed as SolrObject instances
o SolrPingResponse::PARSE_SOLR_DOC -Documents should be parsed as SolrDocument instances.
PHP Documentation Group SOLRPINGRESPONSE(3)