Find the answer to your Linux question:
Results 1 to 4 of 4
Does anyone know of a way to find where a file came from? Like you upload a file, it searches the net for files that are exactly the same and ...
  1. #1
    Just Joined!
    Join Date
    May 2005
    Location
    Midlands, UK
    Posts
    20

    Thumbs down Does anyone now of a way to find where a file came from?

    Does anyone know of a way to find where a file came from? Like you upload a file, it searches the net for files that are exactly the same and it gives you a listing of sites which have that same file.

  2. #2
    Linux Newbie burntfuse's Avatar
    Join Date
    Nov 2006
    Location
    Laurel, MD
    Posts
    158
    That seems like it would be REALLY, REALLY inefficient, but it might work if you just searched for the first 50 bytes or something. I think Google can search binary files, so you might want to look into doing an automated search.
    I have sold my soul to the penguin

  3. #3
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    114

    Smile

    http://www.die.net/doc/linux/man/man8/rpm.8.html

    If you use RPM based distro, you can search it using "rpm -q --whatprovides" option or if you have a group of rpm files in a directory:

    rpm -q --list -p *.rpm | grep -i "name_of_file"

  4. #4
    Linux Newbie burntfuse's Avatar
    Join Date
    Nov 2006
    Location
    Laurel, MD
    Posts
    158
    I don't think that's what he (or she) was talking about, but I could be wrong.
    I have sold my soul to the penguin

Posting Permissions

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