aonez / Keka

The macOS & iOS file archiver
https://www.keka.io
4.9k stars 241 forks source link

Extraction fails with big archive created by bsdtar #1394

Open nkanellopoulos opened 9 months ago

nkanellopoulos commented 9 months ago

Configuration

Describe the bug

I have a big tar file, created by bsdtar on macOS 13 (some time around July 2023). The archive is about 370 GB. bsdtar fails to extract it, so I bought Keka hoping I could resurrect my backup.

To Reproduce

Steps to reproduce the behavior: Right click on the tar file and click extract.

Expected behavior

All files should get extracted

Keka error message

OS: Version 14.2.1 (Build 23C71) (arm64) Keka: v1.3.7-r5302 (MAS) (Sandboxed) (en) Format detected: TAR Binary used: kekatar Arguments: ( "--mac-metadata", "-C", "/Volumes/CRUCIAL_4TB/_LOUSIOS_BACKUP/nk-Jun03.kextraction/Operation/", "-Kxf", "/Volumes/CRUCIAL_4TB/_LOUSIOS_BACKUP/nk-Jun03.tar" ) kekatar: Special header too large

_KEKA_PROGRESS_31760031454

kekatar: Error exit delayed from previous errors.

Error code 1

aonez commented 9 months ago

Hi @nkanellopoulos

You could try using 7zz or unar if you you are comfortable using the Terminal:

/Applications/Keka.app/Contents/MacOS/Keka --cli 7zz x "/Volumes/CRUCIAL_4TB/_LOUSIOS_BACKUP/nk-Jun03.tar" -o"/Volumes/CRUCIAL_4TB/_LOUSIOS_BACKUP/nk-Jun03-7zz"
/Applications/Keka.app/Contents/MacOS/Keka --cli unar "/Volumes/CRUCIAL_4TB/_LOUSIOS_BACKUP/nk-Jun03.tar" -o "/Volumes/CRUCIAL_4TB/_LOUSIOS_BACKUP/nk-Jun03-unar"

You may need to give some file access to Keka, if the Terminal command asks for it:

https://github.com/aonez/Keka/wiki/Enable-External-Volumes-File-Access

nkanellopoulos commented 9 months ago

Thank you!

7zz seems to be much more robust than bsdtar, which fails to extract its own creation...

Screenshot 2024-02-12 at 22 20 53