Routines (alphabetical) > Routines: H > HDF5 Routines > H5G_MOVE

# H5G_MOVE

The H5G_MOVE procedure renames/moves an object within an HDF5 group or file.

## Example

See the example under H5F_CREATE.

## Syntax

H5G_MOVE, Loc_id, Src_Name, Dst_Name [, NEW_LOC_ID=value]

## Arguments

### Loc_id

An integer giving the file or group identifier.

### Src_Name

Original string name of the object.

### Dst_Name

New string name for the object.

## Keywords

### NEW_LOC_ID

An integer giving the destination file or group identifier. This keyword is only used when linking to an object in a different file or group.

## Version History

6.2 | Introduced

## See Also

H5G_CREATE