The Content Retrieval Utility pkgrecv(1)
The Image Packaging System content retrieval utility enables the user to download the
contents of a package from a server. The contents can be retrieved in
a format that enables the user to modify the package and republish
it using the pkgsend command.
The pkgrecv command is complementary to the pkgsend command.
The following options are supported with the pkgrecv command.
Table 3-8 pkgrecv Options
-s repo_url |
Specify the url/address
of the server from where you want receive the package contents. |
-k |
Keep the individual
package contents compressed. |
-d directory |
The directory where the package contents should be placed.
The default location is the current working directory. |
-n |
List the most recent versions of
the packages available at the specified server. The package contents are not downloaded. Example :
List the most recent versions of the packages available at test-server. # pkgrecv —s https://test-server —n
pkg:/SUNWlibC@0.5.11,5.11-0.79:20080221T125720Z
pkg:/SUNWfreetype2@0.5.11,5.11-0.79:20080221T123955Z
pkg:/SUNWlibm@0.5.11,5.11-0.79:20080221T125728Z
pkg:/SUNWliboil@0.5.11,5.11-0.79:20080221T125730Z Example : Receive the
SUNWlibC, SUNWfreetype, and SUNWlibm packages from the test server. # pkgrecv -s https://test
SUNWlibC@0.5.11,5.11-0.79:20080221T125720Z
SUNWfreetype2@0.5.11,5.11-0.79:20080221T123955Z
SUNWlibm@0.5.11,5.11-0.79:20080221T125728Z
$ ls -d SUNW*
SUNWfreetype2 SUNWlibC SUNWlibm |
For further information, see the pkgrecv(1) man page.