Open adulau opened 2 years ago
For file type, we need two strategies:
Would the mime/type based perspective just be an indirection of some extension to mime/type
mapper or is data inspection a la unix file
command planned?
In case it is the latter, I imagine taming that dragon may be hard esp. in a platform agnostic way.
I more often than not find myself writing my own system call and parsing interface to a native file
program execution as my experience with the wrapping python libraries were not too encouraging.
Configuration of directories and filetype inclusion/exclusion to be analysed. Idea from @wachizungu.