Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bifrm(1) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bif(4)

rm(1)

rmdir(1)

BIFRM(1)  —  HP-UX

Series 200, 300, 500 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). 

The options are:

−f removes a file with no questions asked, even if the file has no write permission. 

−r causes bifrm to recursively delete the entire contents of a directory, and 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 an BIF directory structure exists on the HP-UX device file /dev/rdsk/1s0. 

The first example recursively combs through the BIF directory /tmp and asks if each BIF file should be removed (forced, with no file mode checks):

bifrm −irf /dev/rdsk/1s0:/tmp

The second example removes the BIF directory /users/doug:

bifrmdir /dev/rdsk/1s0:/users/doug

AUTHOR

Bifrm was developed by HP. 

SEE ALSO

bif(4), rm(1), rmdir(1). 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026