Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type / Creator codes not included in AppleDouble. #48

Open
thorsted opened this issue Mar 5, 2024 · 2 comments
Open

Type / Creator codes not included in AppleDouble. #48

thorsted opened this issue Mar 5, 2024 · 2 comments

Comments

@thorsted
Copy link

thorsted commented Mar 5, 2024

In using HFSExplorer and UNHFS, the type / creator codes available in the "com.apple.FinderInfo" are not exported, nor are they included in the AppleDouble file, which they normally are when created through other processes.

@unsound
Copy link
Owner

unsound commented Mar 6, 2024

Hi, actually HFSExplorer should extract both the com.apple.Finderinfo, com.apple.ResourceFork and any additional extended attributes to the AppleDouble file if extracting with extended attributes is selected, however unhfs didn't do that... until the latest commit 00d2d8b which I pushed just now. You have to specify the -resforks APPLEDOUBLE option to get the resource fork, Finder info and xattrs.

(The latest commits also fix extracting non-resource fork/Finder info xattrs to AppleDouble files which was fairly broken.)

@thorsted
Copy link
Author

thorsted commented Mar 7, 2024

Ah, ok, since HFS support was removed from current MacOS, tools like this are super important, thanks for the quick fix.

Edit: I can see the Type/Creator codes now in the AppleDouble file, but dot_clean struggles with the file. When I compare the AppleDouble file exported from HFSExplorer and the one by this new version of UNHFS, I can see significant byte differences. dot_clean fails on the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants