Help us improve by taking our short survey: https://www.hdfgroup.org/website-survey/

| HDF5 Last Updated on 2026-07-28 The HDF5 Field Guide

Loading...
Searching...
No Matches
The HDF5 h5mkgrp Tool

Navigate back: Main / HDF5 User Guide / Command Line Tools for HDF5 Files

# h5mkgrp

## Introduction

With h5mkgrp, you can create group(s) in an HDF5 file

## Usage

#### h5mkgrp [OPTIONS] FILE GROUP

## Error Report Option

- --enable-error-stack Prints messages from the HDF5 error stack as they occur. Optional value 2 also prints file open errors, `--enable-error-stack=2`.

## Options

- --help Print a usage message and exit
- --version Print the library version number and exit
- --verbose Print information about OBJECTS and OPTIONS
- --latest Use latest version of file format to create groups
- --parents No error if existing, make parent groups as needed
- --vol-value Value (ID) of the VOL connector to use for opening the HDF5 file specified
- --vol-name Name of the VOL connector to use for opening the HDF5 file specified
- --vol-info VOL-specific info to pass to the VOL connector used for opening the HDF5 file specified.
  If none of the above options are used to specify a VOL, then the VOL named by HDF5_VOL_CONNECTOR (or the native VOL connector, if that environment variable is unset) will be used
- --vfd-value Value (ID) of the VFL driver to use for opening the HDF5 file specified
- --vfd-name Name of the VFL driver to use for opening the HDF5 file specified
- --vfd-info VFD-specific info to pass to the VFL driver used for opening the HDF5 file specified

Previous Chapter h5delete - Next Chapter h5repart

Navigate back: Main / HDF5 User Guide / Command Line Tools for HDF5 Files