Freaky / Compactor

A user interface for Windows 10 filesystem compression
MIT License
1.18k stars 49 forks source link

Exclude more standard files/paths by default #28

Open Velocet opened 4 years ago

Velocet commented 4 years ago

As an addition to the great if statement trivial hash machine learning advanced condition-based AI logic database (sorry.. couldn't resist) i would suggest to implement a list of files/folders in categories (like archives, database, etc.) that are not meant to be compressed instead of a huge list with little to no explanation.

For files this would be etl, etw and other database or log files (like from Windows Search):

*.etl
*.etw
*.evtx
*.jrs
*.jtx
*.jcp
*.jfm
*.edb
*.crwl
*.gthr
%ALLUSERSPROFILE%\Microsoft\Windows Defender
%ALLUSERSPROFILE%\Microsoft\Search
%ALLUSERSPROFILE%\NVIDIA
%TEMP%

This would speed up the tool even more and SSD wear would be less.

Also a really cool option would be a way to scan for magic numbers: Read the first four bytes of a file (if the file extension is unknown) and compare that with a list of known magic numbers and decide on how to compress these.

A possible solution to programmatically get some of those files/paths would be to read the registry and see where some of those files are stored...

Thanks for this great tool! Works better than anything else i used before as it's using the API instead of just being a wrapper for compact.exe. Very nice!