Skip to content

Instantly share code, notes, and snippets.

View ekohilas's full-sized avatar
🐇
eating 🍪🍪🍪

Evan Kohilas ekohilas

🐇
eating 🍪🍪🍪
View GitHub Profile
@ekohilas
ekohilas / ntfs-find-files-affected-by-ddrescue-bad-chunks.py
Created June 12, 2024 13:56 — forked from mRB0/ntfs-find-files-affected-by-ddrescue-bad-chunks.py
After you use gnu ddrescue on a drive with an NTFS filesystem, this script uses your ddrescue logfile & ntfs-3g to list files affected by unrecoverable bad chunks
#!/usr/bin/env python
import sys
import os
import subprocess
import re
from StringIO import StringIO
# usage:
#