Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

mv(1) OSS Shell and Utilities Reference Manual
between the * (asterisk) and the . (dot).
7. To move all OSS les on the local node to a remote node, enter:
mv -W NOG -W NOE / /E/node
where node is the Expand node name of the target remote node.
NOTES
If the source is on a different le system than the distination, mv must copy the source to the
destinations le system and then delete the source. In this case, the user ID becomes that of the
current user, but the mode and times are not changed. The effect is equivalent to the following
command syntax:
rm -f destination && cp -pR source destination && rm -rf source
Because /G and /E both appear in your local root directory, you should be very careful when
using OSS shell commands on or from the root directory. OSS shell commands that perform
recursive actions make no distinction between Guardian and OSS les or between local and
remote les. You can use the -W NOG and -W NOE ags or the UTILSGE environment vari-
able to exclude objects in the Guardian le system or objects accessible through the Expand pro-
duct.
CAUTIONS
The mv command may overwrite existing les unless the -i ag is specied to prompt you rst.
RELATED INFORMATION
Commands: cp(1), ln(1), rm(1), rmdir(1).
Functions: rename(2).
STANDARDS CONFORMANCE
The -W NOG and -W NOE ags and the UTILSGE environment variable are HP extensions to
the XPG4 Version 2 specication.
628 Hewlett-Packard Company 527188-003