FFS was made as an experiment with NTFS and specifically MFT along with WPF in order to see how fast can the search be.. and it turned out to be pretty fast!!
In order to scan MFT you need to provide an admin access to the software, this is normal and there's no need to be worried about this step! This software provides no harm and only performs scanning, everything else is processed outside the MFT based on working copies extracted from there
First step is scanning drive's master file table aka metadata
Once you're done with this all that's left to do is the actual file query
- * - to display all files
- .ext - to display all files that match specific extension
- filename - regular string to display all filenames that match specific substring
- self explanatory, uses stopwatch
- Show selected file in explorer
- Open selected file with an associated program
- Export all the files to a CSV file
- that's where you can select a specific file you're interested in and perform various operations from the toolbar (see blue rectangle section)
Right now queries are very simple as they do what's needed for me hence why the class is called "Simple queries" however this bit should be abstracted so it shouldn't be too hard to add a new option such as JSON query with some sort of a Query builder maybe? Oh well the possibilities are endless!
- Replace AdonisUI with some other fast, efficient and good looking WPF UI theme (I like adonis, you can't blame me..)
- Add more export options
- Look into context menu or some better interactions for more actions (context menus are borked thanks to adonis)
- Add more file search options that support Non-NTFS drives (obviously it won't be as fast as MFT but it's going to make this software more suitable for using with other types of drives)
- Other options
You can find NTFS MFT reader repository with my optimizations here: https://github.com/Sir3eBpA/ntfsreader-sf This is the one I use when generating NtfsReader.dll file, it might be worth to include it into this repo as a submodule but I barely touch it so found no need for it yet
Scanning all 3 drives I have on my end (875 gb of data OR 3,224,292 files)
- File name search (substring in string) - ~1215 ms
- extension search (reference comparison) - ~67 ms
- search all - ~122 ms
Hardware specs:
- i7-9700K (3.6 ghz)
- 32 gb ram
- Samsung SSD 860 EVO (500 gb)
- Samsung SSD 860 EVO (1000 gb)
PR's are welcome! I don't plan to update or maintain this tool in near time until I have a need to do that... but feel free to open an Issue and I'll try to check it out if there's enough free time on my plate!
Tools and frameworks used (Would've been a tough one without them ;) ) :