maconv(1)

MACONV(1) maconv MACONV(1)

NAME

maconv - Macintosh format converter

SYNOPSIS

maconv c [options] input-file [output-file]
maconv e [options] input-file [output-folder]
maconv d [options] input-folder [output-file]

DESCRIPTION

maconv(1) is a Linux software that can convert all kinds of old Macintosh formats, including MacBinary, Stuffit archives and HFS disk files.

OPTIONS

Maconv has three sub-commands: c, e and d.
Each sub-command can take the following flags:

-h,--help
Print an help message about Maconv and exit.

-v,--verbose
Enable verbose mode (i.e. log useful information when converting/extracting files).


Some sub-commands take a format argument. This argument must be one of the following formats: macbin, applesingle, rsrc or data (saves only data fork).

FILE CONVERSION (maconv c)

This sub-command converts a file from a format to another. Supported formats are listed above. The command takes the following arguments:

input-file
The output format. If not provided this format is determined by the output filename extension. If both this format and the output filename are not provided the selected format is rsrc.

output-file
Name of the output file. This argument is optional. By default it's the name of the input file with another extension for a format that generates only one file or the "real" name of the file for other formats.

-f,--format format
The output format. If not provided this format is determined by the output filename extension. If both this format and the output filename are not provided the selected format is rsrc.

ARCHIVE EXTRACTION (maconv e)
This sub-command extracts a Stuffit archive (version 1 or 5) or an HFS disk image. The command takes the following arguments:

input-file
The input archive/disk image.

output-folder
The folder in which the archive/disk image will be extracted. This argument is optional. By default the output folder is . (current folder).

-f,--format format
Format with which extracted files will be saved. By default this format is rsrc.

DISK CREATION (maconv d)
This sub-command creates an HFS disk image from a folder (like a file archiver). The command takes the following arguments:

input-folder
The input folder. Files in this folder will be added to the HFS disk image.

output-file
Name of the disk image to create. This argument is optional. By default the disk image has the same name as the input folder plus .img.

-n,--name vol-name
Name of the volume to create on the disk image. By default it's the base name of the input folder.

EXAMPLES

maconv c file-macbin.bin
Extract both data and ressource forks from file-macbin.bin (MacBinary format) and save them using rsrc format.

maconv e -f macbin archive.sit
Extract a stuffit archive named archive.sit. Extracted files are saved in macbin format.

SEE ALSO

unstuff(1), macunpack(1)

AUTHOR

Guillaume Gonnet <Guillaume.Gonnet@grenoble-inp.org>

2019-01-04 v1.0