Skip to content

Eeems/python-ext4

Repository files navigation

ext4 on PyPI

Ext4

Library for read only interactions with an ext4 filesystem.

from ext4 import Volume

# Extract raw ext4 image
with open("image.ext4", "rb") as f:
    # Extract specific file
    volume = Volume(f, offset=0)
    inode = volume.inode_at("/etc/version")
    with open("version", "wb") as f:
        f.write(inode.open().read())

About

Library for read only interactions with an ext4 filesystem

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •