DOKK / manpages / debian 12 / macutils / macunpack.1.en
MACUNPACK(1) General Commands Manual MACUNPACK(1)

macunpack - Macintosh file de-archiver

macunpack [ - options ] [ file ]

macunpack takes the Macintosh MacBinary archive specified in file (or standard input if none is specified) and extracts the files it contains subject to the options specified. The program will also accept the data fork of the archive for some kinds of archive as standard input.

In the absence of any options, macunpack takes the specified archive and silently extracts the file(s) it contains into MacBinary format, giving the output files ".bin" extensions and placing them in the current working directory. Subdirectories are created for embedded folders.

-3
Write files in fork format (.info, .data and .rsrc files.)
As -3, but empty data and rsrc files are not created.
Write resource forks only (.rsrc files.)
Write data forks only (.data files.)
As -d, but the codes for CR and LF are interchanged, the filename extension is .text.
As -u, but there is no filename extension.
Write files in AppleShare format. This option is only valid if the program is compiled with support for some form of AppleShare. The current directory must be a valid AppleShare folder.
Write extracted files to standard output in MacBinary format.
List every file extracted (and every directory/folder created etc.)
Like -l, but more verbose (implies -l.)
Do not extract, give information only (implies -l.)
Ask the user for every file/folder whether it should be extracted (implies -l.)
Gives the patchlevel of the program, and other information. Other options are ignored and the program quits immediately.
Give short information about the options. Other options are ignored and the program quits immediately.

As this is a beta release, there may still be some problems. Archives that are password protected and multi-file archives are not dealt with.

macutil(1)

Dik T. Winter, CWI, Amsterdam, The Netherlands (dik@cwi.nl)

Parts of the code are based on codes from: Steve Davies, Rahul Dhesi, Casper H.S. Dik, Jim McKie, Mark G. Mendel, Haruhiko Okumura, Joe Orost, Samuel H. Smith, Yooichi Tagawa, Spencer W. Thomas, Ken Turkowski, Allan G. Weber, James A. Woods and Haruyasu Yoshizaki.

October 22, 1992 3rd Berkeley Distribution