memcp - Copy data to a server¶
-Copies files to a collection of memcached servers
+memcp¶
SYNOPSIS¶
-memcp [options] [file] [server]
+memcp [options] --servers <hostname[:port]...> <file...>
+Copy files to a collection of memcached servers.
DESCRIPTION¶
-memcp copies one or more files into memcached(1) servers. -It is similar to the standard UNIX cp(1) command.
-The key names will be the names of the files, -without any directory path.
+memcp copies one or more files into memcached(1) servers. +It is similar to the standard UNIX cp(1) command.
+The key names will be the names of the files, without any directory path.
OPTIONS¶
-You can specify servers via the option:
+-
+
-
+
--help
¶
+ Display help.
+
-
+
-
+
--version
¶
+ Display version.
+
-
+
-
+
--quiet
¶
+ Operate quietly.
+
-
+
-
+
--verbose
¶
+ Operate more verbosely.
+
-
-
--servers
¶
-
--servers
<list of servers>
¶
+Specify the list of servers as hostname[:port][,hostname[:port]...].
+or via the environment variable:
--
-
-
-
`MEMCACHED_SERVERS`
¶
-
-
+
-
+
--binary
¶
+ Enable binary protocol.
+
If you do not specify either these, the final value in the command line list is the name of a server(s).
-For a full list of operations run the tool with the option:
-
-
-
-
--help
¶
-
--expire
<expiration>
¶Use expiration seconds (or a UNIX timestamp).
+-
+
-
+
--flag
<number>
¶
+ Use number as flag.
+
-
+
-
+
--hash
<algorithm>
¶
+ Use algorithm as key hash algo. +See
+memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH
.
-
+
-
+
--username
<username>
¶
+ Use username for SASL authentication.
+
-
+
-
+
--password
<password>
¶
+ Use password for SASL authentication.
+
-
+
-
+
--udp
¶
+ Enable UDP operation mode.
+
-
+
-
+
--buffer
¶
+ Enable internal buffering of commands.
+
-
+
-
+
--add
¶
+ Issue ADD command(s).
+
-
+
-
+
--replace
¶
+ Issue REPLACE command(s).
+