How to work with large number of small files: Difference between revisions
Jump to navigation
Jump to search
Mounting Zip-arichives with
Line 18: | Line 18: | ||
$ fusermount -u mountpoint | $ fusermount -u mountpoint | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= <code>/dev/shmem </code> = | |||
= From Python = | = From Python = |
Revision as of 20:09, 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
/dev/shmem
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