analyzeMFT now available via pip
[Ed Note: Please excuse the formatting. WordPress seems to be doing something funky.]
analyzeMFT just got two major, and related upgrades:
- You can install it via PyPi
- It is now a well behaved (?) package and can more easily be included in other programs.
pip install analyzeMFT
git pull https://github.com/dkovar/analyzeMFT.git python setup.py install
or, just run it from that directory.
The main program is now much simpler:
try: from analyzemft import mftsession except: from .analyzemft import mftsession if __name__=="__main__":
session = mftsession.MftSession() session.mft_options() session.open_files() session.process_mft_file() session.print_records()
The main program just opens a session, gets options, opens the files, processes the records, and prints the results. All of the records are available via:
Where seqnum is the sequence number of the record you want to reference.
You should also be able to ask it to process a single record and return it in raw, bodyfile, L2T CSV, or normal CSV form. If this would be useful, let me know and I’ll document and confirm the process.