Results 1 to 3 of 3
  1. #1

    jnojr's Avatar
    Member Since
    Aug 11, 2012
    Location
    San Diego, CA
    Posts
    85
    Question How 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?

  2. #2


    Member Since
    Jan 22, 2010
    Location
    Victoria, BC
    Posts
    20,911
    Specs:
    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.

  3. #3

    jnojr's Avatar
    Member Since
    Aug 11, 2012
    Location
    San Diego, CA
    Posts
    85
    For the archives:

    Code:
    flamingo:~ jnojr$ pkgutil --file-info /usr/bin/git
    volume: /
    path: /usr/bin/git
    
    pkgid: com.apple.pkg.DeveloperToolsCLI
    pkg-version: 4.5.0.0.1.1249367152
    install-time: 1354051648
    uid: 0
    gid: 0
    mode: 755

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 07-20-2015, 05:50 AM
  2. Vip file, hmo file hmp file
    By stuartavfc72 in forum Music, Audio, and Podcasting
    Replies: 4
    Last Post: 10-26-2013, 01:47 AM
  3. Replies: 0
    Last Post: 09-20-2011, 03:08 PM
  4. Replies: 0
    Last Post: 10-08-2010, 04:28 PM
  5. file renamer: make the title of the ID3 tag the actual file name
    By crazytreeman in forum Music, Audio, and Podcasting
    Replies: 1
    Last Post: 01-15-2008, 07:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •