Software Distributor Administration Guide for HP-UX 11i
Creating Software Packages
Creating a Product Specification File (PSF)
Chapter 10344
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
file -v 4
file -v 5
This also works well for permissions. For example, assume that nearly
all the 100 files in the preceding example had the same permission
attributes, but files 1, 2, and 3 required a different owner and mode:
directory source = /product
file_permissions -o bin -g bin -m 555
file *
file_permissions -o root -g other -m -04555
file 1
file 2
file 3
This capability combines the recursive file specifications function with
explicit file specification. (See “Explicit File Specification” on page 340).