pkgtrans translates an installable package from one format to another. It translates:
a file system format to a datastream
a datastream to a file system format
one file system format to another file system format
The options and arguments for this command are:
The following example translates all packages on the floppy drive /dev/diskette and places the translations on /tmp.
The next example translates packages pkg1 and pkg2 on /tmp and places their translations (that is, a datastream) on the 9track1 output device.
The next example translates pkg1 and pkg2 on /tmp and places them on the diskette in a datastream format.
The MAXINST variable is set in the pkginfo file and declares the maximum number of package instances.
Device specifications can be either the special node name (for example, /dev/diskette) or a device alias (for example, diskette1). The device spool indicates the default spool directory. Source and destination devices cannot be the same.
By default, pkgtrans will not translate any instance of a package if any instance of that package already exists on the destination device. Using the -n option creates a new instance if an instance of this package already exists. Using the -o option overwrites an instance of this package if it already exists. Neither of these options are useful if the destination device is a datastream.
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97