Keka
Keka copied to clipboard
Preserve metadata with p7zip
WORKARROUND
As a workaround, if metadata is important for your compression use TAR and then compress it as ZIP or 7Z or simply use any other format (GZIP, BZIP2, XZ, LZIP, BROTLI, ZSTD...).
Original issue
Folders lose their custom icons in .7z and .zip archives created with Keka 1.1.0 b5 (please see the pic):
(in both cases 'Exclude Mac resource forks' option was off before compression)
Right now for 7z and Zip compression Keka uses p7zip, which does not preserve Mac metadata. If you want to keep that, Tar it first and the 7z/Zip or just create a Tarball using Gzip or Bzip2.
Just some things to look at:
- https://github.com/packagesdev/goldin
-
/System/Library/CoreServices/FixupResourceForks
- https://github.com/packagesdev/goldout