The resource command provides some generic operations for dealing with Macintosh resources. This command is only supported on the Macintosh platform. You use the normal open, puts, close, etc. You must use this command, however, to interact with the resource fork.
Option indicates what resource command to perform.
Any unique abbreviation for option is acceptable. Resources from that resource file will no longer be available. The options give you several ways to specify the resource to be deleted. If no name is provided, then the id will be used regardless of the name of the actual resource. If the -file option is specified then the resource will be deleted from the file pointed to by resourceRef .