I am making my own file manager for linux, hopefully it will be cross platform, and I am trying to identify different file types, in particular folders.
I have already searched google but I could only find a way of identifying text files.
Does anyone have any advice on identifying file types?