Skip to main content

A tool for easy handling of disk-images

Project description

About The Project

A python module that lets you handle disk images in an easy way.

Installation

pip install diskimage

Usage

The tool comes with a commandline client di that will let you work with diskimages:

usage: di <command> <options> disk-image-file

Get information from disk-images.

positional arguments:
  disk_image

optional arguments:
  -h, --help         show this help message and exit
  -v, --verbose      Add verbosity, -vv to enable debugging
  --version VERSION  Print version information

or

You can also use the available python methods directly from your script:

>>> import diskimage.diskimage as di

>>> image = di.DiskImage.from_file('split.E01')

>>> image.filesystems
[<diskimage.filesystem.FileSystem object at 0x741564ba8580>, <diskimage.filesystem.FileSystem object at 0x741564ba8100>]

>>> [item.name for item in image.get_items()]
['$AttrDef', '$BadClus', '$Bitmap', '$Boot', '$Extend', '$ObjId', '$Quota', '$Reparse', '$LogFile', '$MFT', '$MFTMirr', '$Secure', '$UpCase', '$Volume', 'secret.txt', '$OrphanFiles', '$AttrDef', '$BadClus', '$Bitmap', '$Boot', '$Extend', '$ObjId', '$Quota', '$Reparse', '$LogFile', '$MFT', '$MFTMirr', '$Secure', '$UpCase', '$Volume', 'secret.txt', '$OrphanFiles']

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Jarle Thorsen - @jarlethorsen - jarlethorsen@gmail.com

Project Link: https://github.com/jarlethorsen/diskimage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diskimage-0.0.2.tar.gz (11.3 kB view hashes)

Uploaded Source

Built Distribution

diskimage-0.0.2-py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page