FTAM/9000 User's Guide
Chapter 3 53
Using Command-Line FTAM
Deleting Files with fdel
Deleting Files with fdel
The fdel command can delete remote or local FTAM files.
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).