Metadata-Version: 2.1
Name: diskimage
Version: 0.0.4
Summary: A tool for easy handling of disk-images
Home-page: https://github.com/jarlethorsen/diskimage
Author: Jarle Thorsen
Author-email: jarlethorsen@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Requires-Python: >=3.0
Description-Content-Type: text/markdown
Requires-Dist: pytsk3 (>=20210419)
Requires-Dist: libewf-python (>=20201230)

## 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> diskimagefile

Get information from disk-images.

positional arguments:
  {fls}          Command to run. "fls" will list full path for all files found in diskimage
  diskimagefile  The diskimage file to open

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

Example: "di fls test.dd"
```

or

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

```python
>>> import 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](https://twitter.com/jarlethorsen) - jarlethorsen@gmail.com

Project Link: [https://github.com/jarlethorsen/diskimage](https://github.com/jarlethorsen/diskimage)


