Expand and wrap .sit files into a HFS .iso under CentOS 7?

Issues related to applications and software problems
Post Reply
ben239568
Posts: 10
Joined: 2021/02/06 15:43:19

Expand and wrap .sit files into a HFS .iso under CentOS 7?

Post by ben239568 » 2021/02/27 16:52:09

Hi, I'm looking for a way under CentOS 7, thru the command line interface, to:
1) Create a HFS ISO disk image.
2) Mount it with write privileges.
3) Expand a given .sit (StuffIt) file to that mounted HFS mount point, preserving Mac OS resource forks.
4) Save and close the disk image.
5) Rince and repeat.

I've seen a couple pointers online, but nothing that ended up fully working. For instance, I've tried the genisoimage package, but I read online it is very old, defective and should not be used. Moreover, I couldn't find a way to specify a volume size at all. All I could do with it is to wrap a folder of files into a HFS ISO disk image which is kind of half of the solution or it could actually be the whole solution if I could expand .sit files into a temporary, larger HFS partition first, actually.

I've also tried the unar package, but when I do

Code: Select all

unar somefile.sit
it immediately returns

Code: Select all

No files extracted.
not sure if it's because I'm trying this on a ext4 partition but to my knowledge, it should at least produce a file with a DATA fork.

Thanks for suggestions

Post Reply