boredzo / impluse-hfs

A tool for converting HFS (Mac OS Standard) volumes to HFS+ (Mac OS Extended) format.
BSD 3-Clause "New" or "Revised" License
49 stars 1 forks source link

Reverse conversion: HFS+ to HFS #8

Open boredzo opened 1 year ago

boredzo commented 1 year ago

It would also be useful to convert HFS+ volumes to HFS, or “zip up” real-world folders into HFS volumes. (The latter might end up similar, UI-wise, to hdiutil create.)

Subcommands I thought of for these, as recorded in NOTES.md, are downgrade for reverse-conversion (though it could just be under convert, if that's given an HFS+ volume as its first argument), and archive for zipping-up.

archive might be sufficient to start with. As long as it's possible to mount HFS+, you can archive a mounted volume and it'll solve pretty much the same needs as downgrade. The main benefits of downgrade are that (1) it would be one step instead of two, and (2) it would continue to work if support for HFS+ is pulled entirely someday.

Some things that would need to be handled:

boredzo commented 1 year ago

Coming from that discussion: Apparently fdScript/frScript isn't really used, as far as I can tell.

I wonder what would happen if the reverse converter set it.