hrename man page

hrename — rename or move an HFS file or directory

Synopsis

hrename hfs-src-path [...] hfs-target-path

Description

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.

See Also

hfsutils(1)

Files

$HOME/.hcwd

Author

Robert Leslie <rob@mars.org>

Referenced By

hfsutils(1).

04-Jun-1996 HFSUTILS