Scroll to navigation

MEMCP(1) libmemcached-awesome MEMCP(1)

NAME

memcp - libmemcached Documentation

SYNOPSIS

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.

OPTIONS

Display help.

Display version.

Operate quietly.

Operate more verbosely.

See -v|--verbose.

Use expiration seconds (or a UNIX timestamp).

Use algorithm as key hash algo. See memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH.

Specify the list of servers as hostname[:port][,hostname[:port]...].

Enable non-blocking operations.

Disable Nagle's algorithm.

Enable binary protocol.

Buffer requests.

Use username for SASL authentication.

Use password for SASL authentication.

Use number as key's flags.

Enable UDP operation mode.

Issue SET command(s). This is the default mode. See also -A|--add and -R|--replace.

Issue ADD command(s).

Issue REPLACE command(s).

-.|--basename
Use basename of path as key (default).

-+|--relative
Use relative path (as passed), instead of basename only.

-/|--absolute
Use absolute path (real path), instead of basename only.

ENVIRONMENT

Specify a list of servers.

NOTES

PROGRAM PREFIX

The prefix of this program is variable, i.e. it can be configured at build time.

Usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp.

It can be configured, though, to replace the prefix with something else like mc, in case of that, the client programs of libmemcached-awesome would be called mccat, mccp, etc. respectively.

SEE ALSO

memcached(1) libmemcached(3) memcached_behavior(3)

February 5, 2024 1.1