hrename man page
hrename — rename or move an HFS file or directory
hrename hfs-src-path [...] hfs-target-path
hrename changes the name and/or location of one or more files or directories. If only one source path is specified and the target path is in the same directory as the source, only the name is changed. Otherwise the source object is moved as well as possibly being renamed.
If multiple source paths are specified, the target must be a directory, and all of the source objects will be moved into it (keeping the same names.)
If the source path refers to the root directory of a volume, the volume name will be changed. The root directory cannot be moved. Note that volume names can only have 1-27 characters, while all other names may have 1-31 characters.
Robert Leslie <firstname.lastname@example.org>