lifcp(1)

lifcp(1)

NAME

lifcp - copy to or from LIF ®les

SYNOPSIS

lifcp [ -Txxx] [ -Lxxx] [ -vxxx] [ -a] [ -b] [ -ixxx ] [ -r] [ -t] ®le1 ®le2

lifcp [ -Txxx] [ -Lxxx] [ -vxxx] [ -a] [ -b] [ -ixxx] [ -r] [ -t] [ ®le1 ®le2 ... ] directory

DESCRIPTION

lifcp copies a LIF ®le to an HP-UX ®le, an HP-UX ®le to a LIF ®le, or a LIF ®le to another LIF ®le. It also copies a list of (HP-UX/LIF) ®les to a (LIF/HP-UX) directory. The last name on the argument list is the destination ®le or directory.

Options can be used singly or combined in any order before the ®le names. The space between option and argument is optional.

-Txxx

Used only when copying ®les to a LIF volume. This option forces the ®le type of the LIF

 

directory entry to be set to the argument given. The argument can be decimal, octal or

 

hex, using standard "C" notation.

-Lxxx

Used only when copying ®les to a LIF volume. This option will set the "last volume ¯ag"

 

to xxx (0 or 1). The default "last volume ¯ag" is 1.

-vxxx

Used only when copying ®les to a LIF volume. This option sets the "volume number" to

 

xxx. The default "volume number" is one.

-a

This option forces a ASCII mode of copying regardless of the ®le type. When copying in

 

ASCII mode from HP-UX to LIF the default ®le type is BINARY (1). (For details on

 

available modes of copying refer to lif(4)). This option has no effect when copying from

 

LIF to LIF.

-b

This option forces a BINARY mode of copying regardless of the ®le type. When copying

 

in BINARY mode from HP-UX to LIF the default ®le type is BINARY (-2). (For details

 

on available modes of copying refer to lif(4)). This option has no effect when copying from

 

LIF to LIF.

-ixxx

Used only when copying ®les to a LIF volume. This option sets the "implementation" ®eld

 

of the LIF directory entry to the argument given. The argument value can be decimal,

 

octal or hex, using standard "C" notation. The "implementation" ®eld can only be set for

 

®le types -2001 to -100000 (octal). The "implementation" ®eld is set to zero for all inter-

 

change ®le types and for ®le types -2 to -200 (octal). Note that the "implementation"

 

value controls the attributes of the LIF ®le with regard to protection and record sizes.

 

li¯s -lor li¯s -ican be used to determine the "implementation" value of a ®le.

-r

Forces RAW mode copying regardless of ®le type. When copying in RAW mode from HP-

 

UX to LIF the default ®le type is BIN (-23951). -Toption overrides the default ®le type.

 

(various modes of copying are explained in lif(4).) -r option has no effect in LIF to LIF

 

copy operations.

-t

causes HP-UX ®le names to be translated to a name acceptable by a LIF utility; that is,

 

all lowercase letters are converted to uppercase and all other characters except numerics

 

are changed to an underscore (_). If the HP-UX ®le name starts with a nonletter, the ®le

 

name is preceded by the capital letter X. Thus, for example, if two ®les named colon (:)

 

and semicolon (;), were copied, both of them would be translated to X_. File names are

 

truncated to a maximum of 10 characters. When copying a LIF ®le to an HP-UX or LIF

 

®le, -thas no effect. Omitting -tcauses an error to be generated if an improper name is

 

used.

l

HP-UX Release 11i: December 2000

− 1 −

Section 1443