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

3. # Don't create, just touch timestamp.
4. zk touch -c /zk/path

6. # Create all parts necessary (think mkdir -p).
7. 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.