Python utility to extract files from Macintosh MFS filesystem images
Go to file
barberd 94e00f226e
Add files via upload
Simplified to handle file directory fragmentation better, with side effect of no longer needing the code to align to sector boundaries.
2021-03-29 09:21:58 -04:00
LICENSE Initial commit 2021-03-28 22:54:48 -04:00 Add files via upload 2021-03-29 09:21:58 -04:00 Update 2021-03-28 23:21:11 -04:00


Python utility to extract files from Macintosh MFS filesystem images

MFS ( was the original Macintosh filesystem used with the release of the Macintosh in 1984. It was replaced with HFS a year and a half later after Apple introduced the first Macintosh hard drives. HFS tools and FUSE modules can be found, but not much exists for MFS. Anyone wanting to extract files from images of these early programs often had to load the images into an emulator; with this python script the files can now be extracted directly. Its especially helpful for extracting hidden files or inspecting volume and file dates. Note Macintosh dates are seconds since midnight Jan 1 1904.

Details on MFS were obtained from


To extract all files in the IMAGEFILE MFS image to the current directory


To show additional details such as the block mapping and timestamps, run:

./ IMAGEFILE verbose

Conceptually, one could run this directly on a floppy drive such as:

./ /dev/fd0

but as most of these images were on 400k Macintosh floppies, it would only really make sense on an m68k linux install on a Macintosh both new enough to run Linux (68020 or later processor) and old enough to have a floppy drive capable of reading the original 400k floppies....perhaps a SE/30 or Classic II.