X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fsource%2Fbin%2Fmemcp.rst;h=deea12a77d1cd3af9e866570325f6c23e8e43762;hb=911c5ad81ebd8ff9a72cfbb5bc1e2a7b49ee3f92;hp=a85eed8bf388e33c79d82046dbe048543c3df1ba;hpb=e0871342c7fdc7cb9c518d686aab4519c1bda764;p=awesomized%2Flibmemcached diff --git a/docs/source/bin/memcp.rst b/docs/source/bin/memcp.rst index a85eed8b..deea12a7 100644 --- a/docs/source/bin/memcp.rst +++ b/docs/source/bin/memcp.rst @@ -1,75 +1,69 @@ -============================= -memcp - Copy data to a server -============================= +memcp +===== - -Copies files to a collection of memcached servers - - --------- SYNOPSIS -------- -memcp [options] [file] [server] - .. program:: memcp +memcp [options] \-\-servers + +Copy files to a collection of memcached servers. ------------ DESCRIPTION ----------- +:program:`memcp` copies one or more files into :manpage:`memcached(1)` servers. +It is similar to the standard UNIX :manpage:`cp(1)` command. -:program:`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. +The key names will be the names of the files, without any directory path. - -------- OPTIONS ------- +.. include:: options/all.rst +.. include:: options/common.rst +.. include:: options/expire.rst +.. include:: options/flag.rst +.. include:: options/hash.rst +.. include:: options/sasl.rst +.. include:: options/udp.rst -You can specify servers via the option: +.. option:: --buffer -.. option:: --servers + Enable internal buffering of commands. -or via the environment variable: +.. option:: --set -.. envvar:: `MEMCACHED_SERVERS` + Issue *SET* command(s). This is the default mode. + See also :option:`--add` and :option:`--replace`. -If you do not specify either these, the final value in the command line list is the name of a server(s). +.. option:: --add -For a full list of operations run the tool with the option: + Issue *ADD* command(s). -.. option:: --help +.. option:: --replace + Issue *REPLACE* command(s). ----- -HOME ----- - - -To find out more information please check: -`http://libmemcached.org/ `_ - - ------- -AUTHOR ------- - - -Brian Aker, +ENVIRONMENT +----------- -Mark Atwood, +.. envvar:: MEMCACHED_SERVERS + Specify the list of servers. --------- SEE ALSO -------- +.. only:: man + + :manpage:`memcached(1)` + :manpage:`libmemcached(3)` + :manpage:`memcached_behavior(3)` -:manpage:`memcached(1)` :manpage:`libmemcached(3)` +.. only:: html + * :doc:`/libmemcached` + * :doc:`/libmemcached/configuration` + * :doc:`/libmemcached/memcached_behavior`