Extract Embedded Files from Multiple OneNote Files with onedump.py

· Original article ↗

Summary

A new onedump.py option outputs embedded files from multiple OneNote files as JSON. Piping the output to myjson-filter.py writes the files to disk using each file's SHA-256 hash as its name.

Key points

  • The onedump.py --jsonoutput option outputs JSON containing the embedded files found in OneNote documents.
  • Run onedump.py --jsonoutput *.one to process multiple OneNote files in one command.
  • Pipe the JSON output to myjson-filter.py -W hashvir to write embedded files to disk, named by their content's SHA-256 hash with the .vir extension.

Article Details

Topic
Batch extraction of embedded files from OneNote documents using onedump.py and myjson-filter.py.

Products

Tools

Related Articles