Using FUP for Basic File Management
Guardian User’s Guide — 425266-001
7- 13
Performing Common File Operations
Performing Common File Operations
This subsection describes how to perform basic file management tasks: duplicating,
renaming, changing security, and deleting files.
Duplicating Files
You can duplicate a single file or a set of files with the FUP DUPLICATE command.
To duplicate a single file, enter DUPLICATE (or simply DUP) followed by the name of
the file to be copied, a comma, and the name of the new file.
For example, this command duplicates the file BAKE in your current default
subvolume, names the new file BAKE also, and places the copy in the subvolume
$PISMO.CLAM:
If the file $PISMO.CLAM.BAKE already exists, FUP does not execute the command
and responds with an error message. To overwrite an existing file with DUP, you must
include the PURGE option:
To duplicate more than one file with a single command, enter DUP followed by a file set
or file-set list, a comma, and a destination.
To specify a destination:
1. Include a system or volume name if either one differs from the current default value.
2. For the subvolume name, specify either of:
•
A single subvolume name, for all the new files to reside in that subvolume.
•
An asterisk (*) in place of the subvolume name (to specify that the subvolume
name of each new file be the same as the subvolume name of the file from
which it was copied).
3. For the file name, specify either of these:
•
The new file names in order.
•
An asterisk (*) in place of one or more file names if you want the names of the
new files to be the same as the old files.
For example, if you have these files:
-DUP BAKE, $PISMO.CLAM.BAKE
-DUP BAKE, $PISMO.CLAM.BAKE, PURGE
-FILES $ALPHA.SOUP
$ALPHA.SOUP
A B
-FILES $COUNT.DOWN
$COUNT.DOWN
BLASTOFF
Содержание Guardian
Страница 24: ...About This Guide Guardian User s Guide 425266 001 xxii Your Comments Invited ...
Страница 30: ...Part I Using the Compaq Tandem Advanced Command Language TACL Guardian User s Guide 425266 001 ...
Страница 100: ...Part II Managing Files Using the File Utility Program FUP Guardian User s Guide 425266 001 ...
Страница 146: ...Part III Managing Disk and Tape Processes Guardian User s Guide 425266 001 ...
Страница 232: ...Backing Up and Restoring Disk Information Guardian User s Guide 425266 001 11 26 Backcopy Examples ...
Страница 234: ...Part IV Using the Spooler and Its Utilities Guardian User s Guide 425266 001 ...
Страница 248: ...Introduction to the Spooler Guardian User s Guide 425266 001 12 14 Sending Output to a SPOOL DEFINE ...
Страница 300: ...Performing Routine Spooler Operations Using Spoolcom Guardian User s Guide 425266 001 14 38 Problem Solving Summary ...
Страница 322: ...Part V Security Features and Other Guardian Utilities Guardian User s Guide 425266 001 ...
Страница 368: ...Monitoring Event Messages Guardian User s Guide 425266 001 17 14 Using the Event Viewer ...
Страница 378: ...Displaying Version and System Information Guardian User s Guide 425266 001 18 10 Task 2 Interpret SYSINFO Output ...
Страница 410: ...Monitoring Hardware Components Guardian User s Guide 425266 001 19 32 Automating System Monitoring ...
Страница 460: ...Index Guardian User s Guide 425266 001 Index 24 Special Characters ...