System Administration Guide, Volume 1

How to Specify Files in the Packing List to be Treated as Regular Expressions

To specify that one or more files in the packing list should be treated as regular expressions (not as literal file names), use the -r option with the -f option of the cachefspack command. The -r option cannot be used alone.


$ cachefspack -rf packing_list

where packing_list contains a LIST command defined as follows:


LIST *.doc

-r

Specifies that you want the file or files defined in the LIST command treated as regular expressions, and not as literal file names.

-f

Specifies that you want the packing list packed in the cache. 

packing_list

Indicates the name of the packing list that contains the LIST command with the file or files you want treated as regular expressions.

Example--Specifying Files in the Packing List to be Treated as Regular Expressions

The following example shows the packing list list.pkg specified to be packed in the cache. list.pkg contains a LIST command that defines a regular expression.


$ cachefspack -rf list.pkg

The software will pack the file list.pkg into the cache and treat the file names defined in the LIST command as regular expressions, and not as literal file names.