How to work with large number of small files: Difference between revisions
Jump to navigation
Jump to search
Mounting Zip-arichives with
Line 12: | Line 12: | ||
# Use the data inside | # Use the data inside | ||
$ ls mountpoint/ | |||
$ ... | $ ... | ||
Revision as of 19:47, 28 July 2022
Background
Mounting Zip-arichives with fuse-zip
# Get a brief help.
$ fuse-zip --help
....
# Mount the archive as a file system.
$ fuse-zip -r archive.zip mountpoint
# Use the data inside
$ ls mountpoint/
$ ...
# Unmount the archive.
$ fusermount -u mountpoint
From Python
Working with files inside a TAR archive
tarfile
module:
- https://www.askpython.com/python-modules/tarfile-module
- https://stackoverflow.com/questions/27220376/python-read-file-within-tar-archive