Skip to content

wangfu91/UsnParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows USN Change Journal Parser 🚀

A command-line utility for NTFS/ReFS to search the MFT and monitor changes in the USN Journal.

Note: 🦀 I've also created a Rust port: usn-parser-rs, which is more performant and uses significantly less memory.


This project requires .NET 8 to be installed to build and run.


📦 Download

Latest version can be downloaded from the releases/latest page.

🛠️ Usage

Usage: UsnParser [command] [options]

Options:
  --version  Show version information.
  -h|--help  Show help information.

Commands:
  monitor    Monitor real-time USN journal changes
  read       Read history USN journal entries
  search     Search the Master File Table

Run 'UsnParser [command] -h|--help' for more information about a command.

💡 Examples

# 🔍 Search through Master File Table of volume D, print out all the files whose extension is ".xlsx".
UsnParser search D: -f *.xlsx
# 📄 Print out the change history for file "Report.docx" in the USN journal of volume D.
UsnParser read D: -f Report.docx
# 👀 Monitor real-time USN records of volume C.
UsnParser monitor C: 
# 📝 Monitor real-time USN records of volume C with a filter for txt files whose name starts with "abc".
UsnParser monitor C: -f abc*.txt 

📚 Dependencies


🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to open an issue or submit a pull request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A command utility to read and monitor the NTFS/ReFS USN change Journal.

Topics

Resources

License

Stars

Watchers

Forks