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 libmagic, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install libmagic
To see what files were installed by libmagic, run:
port contents libmagic
To later upgrade libmagic, run:
sudo port selfupdate && sudo port upgrade libmagic
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.