1MEMCP(1)                     libmemcached-awesome                     MEMCP(1)
2
3
4

NAME

6       memcp - libmemcached Documentation
7

SYNOPSIS

9       memcp [options] --servers <hostname[:port]...> <file...>
10
11       Copy files to a collection of memcached servers.
12

DESCRIPTION

14       memcp  copies one or more files into memcached(1) servers.  It is simi‐
15       lar to the standard UNIX cp(1) command.
16
17       The key names will be the names of the  files,  without  any  directory
18       path.
19

OPTIONS

21       -h|--help
22              Display help.
23
24       -V|--version
25              Display version.
26
27       -q|--quiet
28              Operate quietly.
29
30       -v|--verbose
31              Operate more verbosely.
32
33       -d|--debug
34              See -v|--verbose.
35
36       -e|--expire <expiration>
37              Use expiration seconds (or a UNIX timestamp).
38
39       -H|--hash <algorithm>
40              Use      algorithm      as      key      hash     algo.      See
41              memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH.
42
43       -s|--servers <list of servers>
44              Specify  the   list   of   servers   as   hostname[:port][,host‐
45              name[:port]...].
46
47       -n|--non-blocking
48              Enable non-blocking operations.
49
50       -N|--tcp-nodelay
51              Disable Nagle's algorithm.
52
53       -b|--binary
54              Enable binary protocol.
55
56       -B|--buffer
57              Buffer requests.
58
59       -u|--username <username>
60              Use username for SASL authentication.
61
62       -p|--password <password>
63              Use password for SASL authentication.
64
65       -F|--flags <number>
66              Use number as key's flags.
67
68       -U|--udp
69              Enable UDP operation mode.
70
71       -S|--set
72              Issue  SET  command(s).  This  is  the  default  mode.  See also
73              -A|--add and -R|--replace.
74
75       -A|--add
76              Issue ADD command(s).
77
78       -R|--replace
79              Issue REPLACE command(s).
80
81       -.|--basename
82              Use basename of path as key (default).
83
84       -+|--relative
85              Use relative path (as passed), instead of basename only.
86
87       -/|--absolute
88              Use absolute path (real path), instead of basename only.
89

ENVIRONMENT

91       MEMCACHED_SERVERS
92              Specify a list of servers.
93

NOTES

95   PROGRAM PREFIX
96       The prefix of this program is variable, i.e. it can  be  configured  at
97       build time.
98
99       Usually  the  client programs of libmemcached-awesome are prefixed with
100       mem, like memcat or memcp.
101
102       It can be configured, though, to replace the prefix with something else
103       like  mc,  in case of that, the client programs of libmemcached-awesome
104       would be called mccat, mccp, etc. respectively.
105

SEE ALSO

107       memcached(1) libmemcached(3) memcached_behavior(3)
108
109
110
111
1121.1                              Mar 06, 2023                         MEMCP(1)
Impressum