Merge pull request #140 from hussainnaqvee/patch-1
[awesomized/libmemcached] / bin / memcp.rst
1 memcp
2 =====
3
4 SYNOPSIS
5 --------
6
7 .. program:: memcp
8
9 memcp [options] \-\-servers <hostname[:port]...> <file...>
10
11 Copy files to a collection of memcached servers.
12
13 DESCRIPTION
14 -----------
15
16 :program:`memcp` copies one or more files into :manpage:`memcached(1)` servers.
17 It is similar to the standard UNIX :manpage:`cp(1)` command.
18
19 The key names will be the names of the files, without any directory path.
20
21 OPTIONS
22 -------
23
24 .. include:: options/all.rst
25 .. include:: options/common.rst
26 .. include:: options/expire.rst
27 .. include:: options/flag.rst
28 .. include:: options/hash.rst
29 .. include:: options/sasl.rst
30 .. include:: options/udp.rst
31
32 .. option:: --buffer
33
34 Enable internal buffering of commands.
35
36 .. option:: --set
37
38 Issue *SET* command(s). This is the default mode.
39 See also :option:`--add` and :option:`--replace`.
40
41 .. option:: --add
42
43 Issue *ADD* command(s).
44
45 .. option:: --replace
46
47 Issue *REPLACE* command(s).
48
49 ENVIRONMENT
50 -----------
51
52 .. envvar:: MEMCACHED_SERVERS
53
54 Specify the list of servers.
55
56 SEE ALSO
57 --------
58
59 .. only:: man
60
61 :manpage:`memcached(1)`
62 :manpage:`libmemcached(3)`
63 :manpage:`memcached_behavior(3)`
64
65 .. only:: html
66
67 * :doc:`/libmemcached`
68 * :doc:`/libmemcached/configuration`
69 * :doc:`/libmemcached/memcached_behavior`