Software Distributor Administrator Guide (September 2010)

The directory keyword must have been previously specified before the file *
specification can be used. If not, swpackage generates an error.
Error Messages
When processing the directory recursively, swpackage encounters the following errors:
Cannot search directory (permission denied)
Cannot read the file (permission denied)
Unsupported file type encountered
10.4.2.4.11.5 PSF Extensions
A PSF can contain extended file definitions. SD currently supports exclude and include
files.
Exclude files let you explicitly exclude files that would otherwise be included in the
PSF. The syntax is:
exclude filename
An exclude file can only be specified after a file definition. The file listed after the
exclude keyword is excluded from the current context (for example, from a recursive
file definition or wildcard).
If the filename specifies a directory, then all files below that directory are excluded.
Include files let you include file definitions from a separate file. The syntax is:
file < filename
The include file must be separated from the file keyword by a less than sign (<).
10.4.2.5 Re-Specifying Files
In addition to being able to specify files as a group (with file *) for general attributes,
the PSF also allows you to “re-specify” files within that definition to modify individual
attributes.
For example, suppose you wanted to specify all the files in a fileset which contained
100 files. All these files were to be recursively “discovered” and packaged into the
fileset. Most of them would have the same owner, group, and mode (and other file
attributes).
Out of those 100 files, there might be five that are volatile (that is, you don’t care if they
get modified or deleted). So, instead of listing all 100 files individually, and using the
-v option for the five, you could specify all 100 with file * and then modify the five
individually in their own way. For example, with files 1, 2, 3, 4, and 5:
directory source = /product file *
file -v 1
file -v 2
file -v 3
252 Creating Software Packages