
resutils-0.1 - MacOS resource fork handling utilities
by Yusuke Shinyama (euske@cl.cs.titech.ac.jp), 2001/7

* This software is public domain *


Resutils allows to manipulate MacOS resoruce fork on UNIX.
It can show the resource informations (types, ids, sizes, etc.),
extract the resource data of specified types and ids,
unpack and re-pack the resource fork to make it possible
to reflect modifications.


NOTICE

  You need Perl5.

  This program cannot handle MacBinary directly.
  First you need to extract a bare resource fork from MacBinary files
  using tools such as macutils. (available from info-mac, ex.
  http://www.rarf.riken.go.jp/archives/info-mac/cmp/ )


USAGE

  resutil ls   <rsrcfile>
	List the resource types and IDs in the given file.

  resutil type <rsrcfile>
	List the resource types in the given file.

  resutil id   <rsrcfile> <type>
	List the resource IDs of the given resource type.

  resutil info <rsrcfile> <type1> <id1> <type2> <id2> ...
	Show the resource information of given resource types and IDs.

  resutil cat  <rsrcfile> <type1> <id1> <type2> <id2> ...
	Extract the resoruce data of given types and IDs to stdout.

  resutil unpack <rsrcfile> <destdir>
	Unpack all resources in the given file info a directory tree.
	Resources are expanded as follows:

	rsrc/			(destdir)
	rsrc/rsrc_attr		(resoruce fork attribs.)
	rsrc/alis/		(type 'alis')
	rsrc/alis/1.data	(resource data of 'alis' id 1)
	rsrc/alis/1.info	(attribs. and name of 'alis' id 1)
	rsrc/PICT/		(type 'PICT')
	rsrc/PICT/128.data	(resource data of 'PICT' id 128)
	rsrc/PICT/128.info	(attribs. and name of 'PICT' id 128)
	rsrc/PICT/129.data	(resource data of 'PICT' id 129)
	rsrc/PICT/129.info	(attribs. and name of 'PICT' id 129)
	...

  respack <unpackeddir>
	Re-pack the directory tree created with unpack into a resource
	fork and dump it to the stdout.

