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 be an option to make it do so.
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?
filethat I was glossing over. It seems odd to create a tool advanced enough that it can uncompress archives to search but yet not provide a single option for recursive operation, and it's not what I've come to expect of UNIX-like tools. – Hashim Aziz Oct 09 '19 at 22:09-exec? – Hashim Aziz Oct 09 '19 at 22:27