Comments (6)
Interesting. Would be good to have some pointer to the documentation on what the difference between L
and x
is. There might be additional stuff that needs to be done for x
types.
Please open a pull request and include a test case.
from php-archive.
The PAX header is defined here https://www.gnu.org/software/tar/manual/html_node/Standard.html XHDTYPE
I did find a Python implementation for the tar utility here https://svn.python.org/projects/python/tags/r31/Lib/tarfile.py , check the
def create_pax_header(self, info):
method, basically it checks if the filename contains non-ASCII characters and if it does, it will create a PAX header with. I will look more into it as well
from php-archive.
Pull request is here #19
from php-archive.
I did find some more details here explaining the pax extended headers https://www.ibm.com/support/knowledgecenter/SSLTBW_1.13.0/com.ibm.zos.r13.bpxa500/pxarchfm.htm#paxex
from php-archive.
If I may add 2 cents to this discussion: It seems that there may be also g
blocks that contain globally applicable pax data... 😬
The posted IBM link is dead, besides, here is a working one: https://www.ibm.com/docs/en/zos/2.4.0?topic=SSLTBW_2.4.0/com.ibm.zos.v2r4.bpxa500/paxhead.htm#paxhead
from php-archive.
We would have a real-world need for pax support, besides:
dennis-eisen/CT_AutoUpdater#8
However, I totally understand how limited resources are in FOSS projects like this one here, and I don't have the time resources to do it myself, unfortunately. :(
from php-archive.
Related Issues (20)
- tar files created by github fail to extract HOT 1
- support zipping large files HOT 3
- Add callbacks for verbosity/progress HOT 1
- 32bit PHP Problem HOT 2
- Encoding issue when extracting files with 'umlaut' HOT 9
- 7zip extract issue HOT 1
- version 1.0.0 HOT 1
- In memory .gz writing invalid files HOT 2
- Set Password HOT 4
- Use yield in contents() for lower memory usage HOT 4
- Query: Are the .tars generated here free of the ustar size limitations? HOT 1
- fopen() fails on Windows HOT 2
- Files cannot be opened under OS X
- Windows issues HOT 1
- Cannot open zip archive in both Linux and MS Windows HOT 3
- support bzip2 in ZIP
- 43 extra bytes at beginning or within zipfile
- support for in-memory zip files
- Tar creates archive corrupted? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-archive.