File tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed. For information on Mach-O binaries, it is suggested that one uses the command `otool -fv`.
File tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed. For information on Mach-O binaries, it is suggested that one uses the command `otool -fv`.
To install file, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install file
To see what files were installed by file, run:
port contents file
To later upgrade file, run:
sudo port selfupdate && sudo port upgrade file
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.