How to work with large number of small files: Difference between revisions

From RCSWiki
Jump to navigation Jump to search
Line 2: Line 2:


= Mounting Zip-arichives with <code>fuse-zip</code> =
= Mounting Zip-arichives with <code>fuse-zip</code> =
* to be continued.....


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>

Revision as of 19:46, 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
$ ... 

# 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

Links

How-Tos