Unpack files or packing lists from the cache by using the -u or -U option of the cachefspack command.
$ cachefspack -u filename | -U cache-directory |
-u |
Specifies that you want the file or files unpacked. You must specify a filename with this option. |
filename |
Specifies the name of the file or packing list that you want unpacked in the cache. |
-U |
Specifies that you want to unpack all files in the cache. |
For more information about the cachefspack command, see the man page.
The following example shows the file /data/abc/bin/big being unpacked from the cache.
$ cachefspack -u /data/abc/bin/big |
The following example shows several files being unpacked from the cache.
$ cd /data/abc/bin/big $ cachefspack -u big small medium |
The following example shows how to unpack a packing list, which is a file that contains the path to a directory of files, as follows:
$ cachefspack -uf list.pkg |
The following example uses the -U option to specify that all files in a cache directory being unpacked.
$ cachefspack -U /local/mycache |
You cannot unpack a cache that does not have at least one file system mounted. With the -U option, if you specify a cache that does not contain mounted file systems, you see output similar to the following:
$ cachefspack -U /local/mycache cachefspack: Could not unpack cache /local/mycache, no mounted filesystems in the cache. |