I'm trying to get information about the types of all the files in a given directory tree. Running
file in the current directory works well enough, but it doesn't traverse into sub-directories, and there doesn't seem to an option to make it do so, which seems odd for a UNIX tool.
How exactly do I execute the
file command recursively, so that it lists the file types of all the files in a given directory and its subdirectories?