MAKEPSRES(1) | General Commands Manual | MAKEPSRES(1) |
makepsres creates a resource database file named PSres.upr that contains all the resources in all the directory path names specified on the command line.
If the list of directories contains - , makepsres reads from stdin and expects a list of directories separated by space, tab, or newline.
If the list of directories is empty, it is taken to be the current directory.
If all specified directories have a common initial prefix, makepsres extracts it as a directory prefix in the new resource database file.
makepsres normally acts recursively; it looks for resource files in subdirectories of any specified directory. This behavior can be overridden with the command line option -nr.
makepsres uses existing resource database files to assist in identifying files. By default, makepsres creates a new resource database file containing all of the following that apply:
Resource files found in the directories on the command line.
Resource files pointed to by the resource database files in the directories on the command line.
Resource entries found in the input resource database files. These entries are copied if the files they specify still exist and are located in directories not specified on the command line.
If you run makepsres in discard mode (with the -d option), it does not copy resource entries from the input resource database files. In that case, the output file consists only of entries from the directories on the command line. The input resource database files are only used to assist in identifying files.
If you run makepsres in keep mode (with the -k option), it includes in the output file all resource entries in the input resource database files, even entries for files that no longer exist or are located in directories specified on the command line.
makepsres uses various heuristics to identify files. A file that is of a private resource type or that does not conform to the standard format for a resource file must be specified in one of the following ways:
By running makepsres in interactive mode
By preloading the file into a resource database file used for input
By beginning the file with the following line:
Copyright (c) 1989-1994 Adobe Systems Incorporated. All rights reserved.
13 May 1993 | Adobe Systems |