lifcp.1 (2010 09)

l
lifcp(1) lifcp(1)
NAME
lifcp - copy to or from LIF files
SYNOPSIS
lifcp [-T xxx][-L
xxx][-v xxx][-a][-b][
-i xxx][-r][-t] file1 file2
lifcp [-T xxx][-L
xxx][-v xxx][-a][-b][
-i xxx][-r][-t][file1 file2 ...] directory
DESCRIPTION
lifcp copies a LIF file to an HP-UX file, an HP-UX file to a LIF file, or a LIF file to another LIF file. It
also copies a list of (HP-UX/LIF) files to a (LIF/HP-UX) directory. The last name on the argument list is
the destination file or directory.
Options
The space between option and argument is optional.
-T xxx Used only when copying files to a LIF volume. This option forces the file 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.
-L xxx Used only when copying files to a LIF volume. This option will set the "last volume flag"
to xxx (0 or 1). The default "last volume flag" is 1.
-v xxx Used only when copying files 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 file type. When copying in
ASCII mode from HP-UX to LIF the default file 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 file type. When copying
in BINARY mode from HP-UX to LIF the default file 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.
-i xxx Used only when copying files to a LIF volume. This option sets the "implementation" field
of the LIF directory entry to the argument given. The argument value can be decimal,
octal or hex, using standard C notation. The "implementation" field can only be set for
file types -2001 to -100000 (octal). The "implementation" field is set to zero for all inter-
change file types and for file types -2 to -200 (octal). Note that the "implementation"
value controls the attributes of the LIF file with regard to protection and record sizes.
lifls -l or lifls -i can be used to determine the "implementation" value of a file.
-r Forces RAW mode copying regardless of file type. When copying in RAW mode from
HP-UX to LIF the default file type is BIN (-23951). -T
option overrides the default file
type. (various modes of copying are explained in lif (4).) The
-r option has no effect in
LIF to LIF copy operations.
-t causes HP-UX file 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 file name starts with a nonletter, the file
name is preceded by the capital letter X. Thus, for example, if two files 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 file to an HP-UX or LIF
file, -t has no effect. Omitting -t causes an error to be generated if an improper name
is used.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)