Comments (1)
libarchive actually has very limited support for this. It only works for uncompressed tar or GNU tar archives stored as regular files. Basically it works by reading the archive until you find the end of the last archive entry, and then opening a new writable archive at that point.
https://github.com/libarchive/libarchive/blob/0fd2ed25d78e9f4505de5dcb6208c6c0ff8d2edb/tar/write.c#L250-L343 has the code used in bsdtar.
This is limited enough I don't think it is worth investing the time to include it.
from archive.
Related Issues (20)
- Release archive 1.1.2
- Encourage using "data.table" functions over CSV helpers in the documentation HOT 3
- Locale problem HOT 6
- Typo in `archive()` doc --- #' @returns @return A [tibble][tibble::tibble-package] with ...
- Release archive 1.1.3
- R-devel crashes on Windows 2022 HOT 1
- archive_write_dir() creates empty archive HOT 1
- Release archive 1.1.4
- `archive_extract()` not working for files compress using `data.table::fwrite()` HOT 1
- Can't roundtrip a filepath with non-ascii characters in a non-UTF-8 locale HOT 1
- Can I change session timeout time length? HOT 1
- Possible to read from a multi-file archive?
- Blank lib_path in R/zzz.R in Mac OS X conda environment HOT 1
- archive_extract fails on 7-zip archives > 2 GB HOT 2
- archive_read.cpp does not include required defines for Big-endian platforms HOT 3
- archive_extract keeps working after extracting the desired files from remote .zip HOT 4
- Unsupported ZIP compression method (deflation-64-bit)
- Suggest adding new `archive_extract_filter` which uses `fs::path_filter` HOT 3
- Error with .7z file "The file content is encrypted, but currently not supported"
- Release archive 1.1.6 HOT 2
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 archive.