- 论坛徽章:
- 2
|
你可以看看SA200这本书,里面有这样一段话供你参考:\r\nTranslating Package Formats\r\nUse the pkgtrans command to translate a package from file system format to data stream format, or from data stream format to file system format. The command syntax for the pkgtrans command is:\r\n\r\n# pkgtrans file_or_dir_path file_or_dir_path [ package_name ...]\r\n\r\nFor example, to translate a package from file system format in /var/tmp to data stream format, use:\r\n\r\n# pkgtrans /var/tmp /tmp/SUNWrsc.pkg SUNWrsc\r\n\r\nTransferring <SUNWrsc> package instance\r\n\r\nThe first argument above is the directory where the file system format package is stored. The second argument is the package data stream file. The third argument is the package to translate.\r\n\r\nIf a package name is not given, the pkgtrans command provides a list of all packages in the directory, and prompts the user for the packages to translate. |
|