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> 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:

>>> 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 - 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.4.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diskimage-0.0.4-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file diskimage-0.0.4.tar.gz.

File metadata

  • Download URL: diskimage-0.0.4.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.10

File hashes

Hashes for diskimage-0.0.4.tar.gz
Algorithm Hash digest
SHA256 96b7a04b719ef18162a1a064816ff8103332f960bc83f0417f8fc9bc7c3dbd38
MD5 e3a4133041ebf73b6539977f4b313f12
BLAKE2b-256 e692f876f7185dcdc091245b9a8c30aa4eca9c6885bc8caa216b1249cd442f2f

See more details on using hashes here.

File details

Details for the file diskimage-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: diskimage-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.10

File hashes

Hashes for diskimage-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7697fadc050ef69c600c40e2241519fd4ff72a78f97226633fd2a090e6b35775
MD5 cdf9824ab9f286adb22ad644c349cc45
BLAKE2b-256 1135cd09de56649a9fa0a9e65eab5d0d43d2fd64d570264e7a250cf6fab92e12

See more details on using hashes here.

Supported by

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