bifrm(1) — Series 300/400 Only
NAME
bifrm, bifrmdir − remove BIF files or directories
SYNOPSIS
bifrm [−fri] device:file ...
bifrmdir device:dir ...
DESCRIPTION
bifrm and bifrmdir are intended to mimic rm(1) and rmdir(1).
A BIF file name is recognized by the embedded colon (:) delimiter (see bif(4) for BIF file naming conventions).
bifrm removes the entries for one or more files from a directory. If an entry was the last link to the file, the file is destroyed.
If a designated file is a directory, an error comment is printed (unless the optional argument −r has been used, see below).
Recognized options are:
−f Remove file with no questions asked, even if the file has no write permission.
−r Recursively delete the entire contents of a directory, then the directory itself. bifrm can recursively delete up to 17 levels of directories.
−i Causes bifrm to ask whether or not to delete each file. If −r is also specified, bifrm asks whether to examine each directory encountered.
bifrmdir removes entries for the named directories, which must be empty.
EXAMPLES
The following examples assume that a BIF directory structure exists on the HP-UX device file /dev/rdsk/1s0.
Recursively comb through the BIF directory /tmp and ask if each BIF file should be removed (forced, with no file mode checks):
bifrm −irf /dev/rdsk/1s0:/tmp
Remove BIF directory /users/doug:
bifrmdir /dev/rdsk/1s0:/users/doug
AUTHOR
bifrm was developed by HP.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 9.03: April 1994