About fdel |
 |
With fdel, you can delete existing FTAM files (either local
or remote). When you use this command, the original file or files
no longer exist. When fdel completes, your local host redisplays
its prompt .
When you work with remote files, the working directory for
fdel on the remote host is a default directory that depends on the
remote FTAM implementation. For HP-UX FTAM responders, it is your
remote home directory.
Using fdel |
 |
The syntax for the fdel command is as follows:
fdel [-i] file[-X | -z access] [file [-X | -z access] ... ] |
The files are one or more FTAM the files
to be deleted. If you are familiar with the HP-UX rm command, you
will notice the similarity. However, for fdel, the files can be
either local or remote.
The -i
option causes FTAM to request confirmation before it deletes a file.
The other options manage file protection. The -X
option gives you exclusive access to the file during the deletion.
The -z option
can be used to satisfy more stringent file protection requirements.
File protection is the subject of Chapter 5 “FTAM File Protection”
 |
 |  |
 |
 | NOTE: Whether a file is local or remote depends on how you
specify the file name. See "Specifying File and Directory
Names" earlier in this chapter. |
 |
 |  |
 |
For each specified file, the fdel command deletes both the
data file and the FTAM shadow file, if it exists (see Chapter 4 “Special FTAM Files” for information
about FTAM shadow files).
In this example, a user known as betty
uses fdel to delete a local file-localplan.
She also deletes a remote file-regionplan-in
her home directory on the host called chicago:
$ fdel -i localplan chicago:regionplan Password (chicago:betty): Remove "localplan" (y/n): y Remove "chicago:regionplan?"? (y/n): y $ |
Note that you are prompted for betty's password at chicago.
Because of the -i
option, you are also requested to confirm the deletion request.