touch

zk touch

Change node access time.

Synopsis

Change node access time.

NOTE: There is no mkdir - just touch a node. The disntinction between file and directory is not relevant in zookeeper.

  1. zk touch <path> [flags]

Examples

  1. zk touch /zk/path
  2. # Don't create, just touch timestamp.
  3. zk touch -c /zk/path
  4. # Create all parts necessary (think mkdir -p).
  5. zk touch -p /zk/path

Options

  1. -p, --createparent create parents
  2. -h, --help help for touch
  3. -c, --touchonly touch only - don't create

SEE ALSO

  • zk - zk is a tool for wrangling zookeeper.