{"id":1421,"date":"2009-07-10T14:11:22","date_gmt":"2009-07-10T18:11:22","guid":{"rendered":"http:\/\/www.schollnick.net\/wordpress\/?p=1421"},"modified":"2009-07-10T14:11:22","modified_gmt":"2009-07-10T18:11:22","slug":"need-to-find-out-the-details-of-an-application-check-here","status":"publish","type":"post","link":"http:\/\/www.schollnick.net\/wordpress\/2009\/07\/need-to-find-out-the-details-of-an-application-check-here\/","title":{"rendered":"Need to find out the details of an application?  Check here&#8230;"},"content":{"rendered":"<p>Folks,<\/p>\n<p>There&#8217;s a MOSX command line tool, that many people are unaware of called &#8220;file&#8221;. \u00c2\u00a0This application will give you information about what architectures applications will run on, and if it&#8217;s not an application, it will attempt to identify what the file is.<\/p>\n<p>For example:<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">dhcp105-53:~ Ben$ file test.pdf<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">test.pdf: PDF document, version 1.3<\/div>\n<pre>dhcp105-53:~ Ben$ file test.pdf\r\ntest.pdf: PDF document, version 1.3\r\n\r\ndhcp105-53:MacOS Ben$ file iChat\r\niChat: Mach-O universal binary with 2 architectures\r\niChat (for architecture x86_64):\tMach-O 64-bit executable x86_64\r\niChat (for architecture i386):\tMach-O executable i386\r\n<div><span style=\"font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;\"><span style=\"line-height: 19px; white-space: normal;\">\r\n<\/span><\/span><\/div>\r\n<div><span style=\"font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;\">What does all of this mean?<\/span><\/div>\r\n<span style=\"font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;\"><span style=\"line-height: 19px; white-space: normal;\">\r\n<\/span><\/span><\/pre>\n<table border=\"0\">\n<tbody>\n<tr>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">Message<\/span><\/span><\/td>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">Meaning<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">architecture ppc<\/span><\/span><\/td>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">32 bit PowerPC Executable<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">architecture ppc64<\/span><\/span><\/td>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">64 bit PowerPC Executable<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">architecture i386<\/span><\/span><\/td>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">32 bit Bit Intel executable<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">architecture x86_64<\/span><\/span><\/td>\n<td><span style=\"font-size: small;\"><span style=\"line-height: 19px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;\">64 bit Bit Intel executable<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The caveat is for applications, you need to actually use file on the executable file, not on the Application Bundle.<\/p>\n<p>So, you will need to open the bundle, and transverse to Contents &gt; MacOS, so for example, for iChat:<\/p>\n<p>cd \/Applications\/iChat.app\/Contents\/MacOS<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Folks, There&#8217;s a MOSX command line tool, that many people are unaware of called &#8220;file&#8221;. \u00c2\u00a0This application will give you information about what architectures applications will run on, and if it&#8217;s not an application, it will attempt to identify what the file is. For example: dhcp105-53:~ Ben$ file test.pdf test.pdf: PDF document, version 1.3 dhcp105-53:~ <a class=\"read-more\" href=\"http:\/\/www.schollnick.net\/wordpress\/2009\/07\/need-to-find-out-the-details-of-an-application-check-here\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[12,5],"tags":[208,212],"_links":{"self":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/1421"}],"collection":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/comments?post=1421"}],"version-history":[{"count":0,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/1421\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/media?parent=1421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/categories?post=1421"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/tags?post=1421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->