Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Self extracting tar archives (github.com/izabera)
1 point by izabera on July 8, 2017 | hide | past | favorite | 4 comments


I went and researched this before reading the link, and found a slightly different solution than the author. By taking advantage of python's 'tarfile' module, it was easy to create a (us)tar-compatible header. My solution is here: https://gist.github.com/jepler/f86255a6e054d9b6ca540d0c7afe1...


.. only tested with gnu tar, but all the world's a vax eh?


that's an interesting approach but your extracting script is limited to 99 bytes at most, right?


yes.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: