07-01-2013, 06:23 PM #1How to tell where a given file came from?
How do I tell how a given file appeared on my system? I have two Lion systems, each reporting a different version of git I suppose it's possible that one system used MacPorts or something similar and that wound up overwriting the existing file, but how do I KNOW, like 'rpm -qf /path/to/file' on Red Hat?
07-01-2013, 11:28 PM #2
- Member Since
- Jan 22, 2010
- Victoria, BC
- Mid-2012 MBP (16GB, 1TB HD), Monoprice 24-inch second monitor, iPhone 5s 32GB, iPad Air 2 64GB
Surely the creation and modification dates can tell you which one is the older of the two, but as for where it came from I doubt that information is available.
07-03-2013, 03:37 PM #3
For the archives:
flamingo:~ jnojr$ pkgutil --file-info /usr/bin/git volume: / path: /usr/bin/git pkgid: com.apple.pkg.DeveloperToolsCLI pkg-version: 22.214.171.124.1.1249367152 install-time: 1354051648 uid: 0 gid: 0 mode: 755
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Rod Sprague in forum OS X - Apps and GamesReplies: 5Last Post: 07-20-2015, 04:50 AM
By stuartavfc72 in forum Music, Audio, and PodcastingReplies: 4Last Post: 10-26-2013, 12:47 AM
By schwine1 in forum OS X - Apps and GamesReplies: 0Last Post: 09-20-2011, 02:08 PM
By LBth in forum OS X - Development and DarwinReplies: 0Last Post: 10-08-2010, 03:28 PM
By crazytreeman in forum Music, Audio, and PodcastingReplies: 1Last Post: 01-15-2008, 06:05 PM