mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Extracting file containing ":" or any symbol not allowed by windows gives errors #418
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hliriano03 on GitHub (Oct 18, 2020).
I am trying to extract an .IPA file, iTunes App. This app has a file with ":" in it and crashes program when trying to extract it due to not being allowed to create a folder with such character. I tried finding a work around but to no avail.
@adamhathcock commented on GitHub (Oct 19, 2020):
what code are you using?
You probably have to do a more manual approach for extraction if there are invalid path characters in the archive key.
Don't use
WriteAllToDirectory@hliriano03 commented on GitHub (Oct 19, 2020):
Yes i am using that code. Due to once im done extracting i would need to compile .ipa file back exactly how it was. Including the invalid characters.
I tried just copying folder name and removing the invalid character then extracting each file to that folder, (there is another file with same invalid character that i need to extract also.) But im not able to to since its a binary