Find Out Where a File was Downloaded From in Mac OS X
Ever wanted to know where exactly a specific file came from? Perhaps some document that appeared in the Downloads folder of a Mac, or maybe a weird file that’s laying on your desktop, what is the origin of that file? Maybe it’s an archive file, maybe its an mp3 or m4a file that you want to know it’s origin server or download URL, maybe a text document or PDF that you absolutely must recall where it originated from, a dmg for installing, whatever the document or file was, if it was downloaded from somewhere on the internet, you can probably get the details of origin right in Mac OS X with this little-known but incredibly useful trick.
How to Find Where a Downloaded Files Origin URL Was in Mac OS X
You can quickly find out where any file was downloaded from by using the Mac Finder ‘Get Info’ command. This will literally give you the exact download URL of the file itself, and if that URL was linked to from somewhere else, it will tell you that URL as well.
- Select the file in question within the Finder of the Mac OS X
- Now go to Get Info on the file (File menu, choose “Get Info” or hit Command+i)
- From the Get Info window, click on ‘More Info’ to see where you downloaded the file under “Where from:”
For example, here’s a dmg file downloaded from Apple.com, and the exact URL of where it was downloaded is shown:
You can actually copy that URL to re-download the file if you want, or to send someone else a direct download link of the exact same item.
You may notice two URL’s listed as the ‘where from’ source, this is because the file was linked by one URL and downloaded from another. In the example screenshot below, the file was linked to from a rcrdlbl.com URL (a music site) but the file itself was stored on Amazon’s S3 service, so both links are listed.
This is a really handy trick if you can’t recall where you downloaded certain files from, it’s made even better by the fact that you can select the URL’s from the window and visit them again or share easily too. I use this trick all the time for re-discovering music remixes from the huge network of new music blogs, but it works well for literally anything downloaded. Try it out yourself by exploring your Downloads folder with the Get Info command. Of course this is also infinitely useful for troubleshooting and tracking down the origins of mystery files on your Mac or someone elses.
This works in all versions of MacOS and Mac OS X, you’ll always find it in the “Where From” section of Get Info, so look there to locate the download origin.
By the way, if you want to re-download something now that you know where it originated from, just plug that copied URL into your web browser of choice, or feed it into curl to download it via the command line, and the file will download again. This is kind of a secret tip in Mac OS X but it’s very useful given the amount of things that average users download from the web and elsewhere these days.