Renaming Files - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Using FUP for Basic File Management
If you had not supplied the RSFILE file name, FUP would have created the
ZZRSTART file in your default subvolume as the restart file.
2. If the duplicate operation fails before it is finished, restart the operation:
-RESTART RSFILE
FUP displays the original DUPLICATE command and continues the operation from
the point of failure. FUP continues to update the restart file. If a second failure
occurs, a RESTART command restarts the operation from the second point of
failure.
For more information, see the File Utility Program (FUP) Reference Manual.

Renaming Files

Use the FUP RENAME command to rename a file or a set of files. To rename a single
file, enter RENAME followed by the current file name, a comma, and the new file
name:
-RENAME FRED.INFO, MABEL.ARCHIVE
In this example, MABEL.ARCHIVE is the new name of the file. Note that you can
change the subvolume name and the file name, but not the volume name; a file that is
renamed remains on the same disk volume. To duplicate a file to another disk volume,
use the FUP DUPLICATE command.
To rename a set of files, specify a file set just as you would for the DUPLICATE
command. When you RENAME a file set, however, all the file names must remain the
same; only the subvolume name can change. Enter RENAME followed by a file set or
file-set list to be renamed, a comma, and a destination. For the destination, you must
specify:
A subvolume name different from the subvolume names in the file set or file-set list
to be renamed; the renamed files will reside in this different subvolume.
An asterisk (*) in place of the file name; the names of the renamed files will be the
same as those of the original files.
Suppose you want to rename the files in subvolumes $BIG.DOCUMNTS and
$BIG.PROGDOCS. The renamed files must still reside in volume $BIG, but you would
like to put all of them in the subvolume ALLDOCS. Enter:
-RENAME ($BIG.DOCUMNTS.*, $BIG.PROGDOCS.*), $BIG.ALLDOCS.*
If you omit system names or volume names in the file set or file-set list, FUP assumes
the current default values. Also, you cannot change the volume names of files with the
RENAME command. If you include a system or volume name in the file set or file-set
list to be renamed, the same system or volume name must appear in the destination.
Guardian User's Guide —425266-001
7- 15
Renaming Files

Advertisement

Table of Contents
loading

Table of Contents