Note to self: resource forks on modern macOS

On a modern macOS system, you can investigate and log Type and Creator codes using the mdls (metadata listing) command in Terminal, like so:

mdls /path/to/file

This command lists all metadata associated with the file. The ones I want are:

  • kMDItemFSTypeCode: This is the file type code.
  • kMDItemFSCreatorCode: This is the creator code.

These attributes can be verified on Classic with ResEdit.

 

Comments

Popular posts from this blog

Using Retro68 on a Mac

Catching up with QEMU

Flashback: 1991