Skip to content
Unix Server Solutions
  • Server
  • Apple
  • Database
  • Ubuntu
  • Linux

I can no longer see the url from where I have downloaded a file in Get Info, can I get that back

data transferfoldersindexingmetadataurl

I always used to use Get Info to see the URL where I've downloaded a file. Image, PDF, data. Now I can't see this field anymore in any of my recent downloads. I don't see it for old files or new.

update: based on the comment, I went back and looked more carefully. In the Title and Headline lines I only see the file name and extension repeated in each place.

Did I loose this information when I deleted the indexing? Or is the display just turned off temporarily?

MacBook Air 10.11.6 El Capitan Downloads with Chrome primarily, seems to be same with Safari downloads.

edit: following instructions from @user3439894's comment to drag the file into a command window after typing xattr -1, I can see that the url is still available somewhere, and in at least this case is correct (I've changed some codes to xxxxxx):

david-selfs-MacBook-Air:~ david$ xattr -l /Users/david/Desktop/IgRb0.png
com.apple.metadata:kMDItemWhereFroms:
00000000  62 70 6C 69 73 74 30 30 A2 01 02 5F 10 23 68 74  |bplist00..._.#ht|
00000010  74 70 73 3A 2F 2F 69 2E 73 74 61 63 6B 2E 69 6D  |tps://i.stack.im|
00000020  67 75 72 2E 63 6F 6D 2F 49 67 52 62 30 2E 70 6E  |gur.com/IgRb0.pn|
00000030  67 5F 10 23 68 74 74 70 73 3A 2F 2F 69 2E 73 74  |g_.#https://i.st|
00000040  61 63 6B 2E 69 6D 67 75 72 2E 63 6F 6D 2F 49 67  |ack.imgur.com/Ig|
00000050  52 62 30 2E 70 6E 67 08 0B 31 00 00 00 00 00 00  |Rb0.png..1......|
00000060  01 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00 00 57                    |.........W|
0000007a
com.apple.quarantine: 0001;xxxxxxx;Google Chrome;xxxxxx—xxxxxx-…

enter image description here

Best Answer

I'd start by rebuilding the Spotlight Index on your Mac.

  1. Choose Apple menu () > System Preferences, then click Spotlight.
  2. Click the Privacy tab.
  3. Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.

    To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

  4. From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.

  5. Quit System Preferences. Spotlight will reindex the contents of the folder or disk.

From: How to rebuild the Spotlight index on your Mac

Related Solutions

MacOS – How to create a Saved Search that excludes a specific folder from the results

I looked at some of the saved search files in Finder's application bundle, and for example /System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch/search.savedSearch used a format like this for excluding directories:

<key>FXScopeArrayOfPaths</key>
<array>
  <string>~/</string>
  <string>-Library</string>
  <string>-Music/iTunes</string>
  <string>-Documents/Steam Content</string>
  <string>~/Library/Mobile Documents/</string>
  <string>-com~apple~Keynote</string>
  <string>-com~apple~Pages</string>
  <string>-com~apple~Numbers</string>
</array>

So you can exclude subfolders by adding strings that start with a minus character after a full path. Something like -~/Library doesn't seem to work.

You can edit savedSearch files by dropping them on a text editor. RawQueryDict:SearchScopes and FXScope:FXScopeArrayOfPaths seem to list the same paths by default, but just editing the second one appeared to exclude folders at least in Finder.

Why file links appear in the folder sidebar and how can I prevent this from happening

You might accidentally be pressing the shortcut commandT which means “Add to Sidebar” in the Finder but is used for many different things in many other applications. So if you think another application is frontmost where actually the Finder is you'd accidentally add the currently selected file to the sidebar. Happened to me a few times.

Related Question
  • MacOS – Where is the ‘Where from’ meta data stored when downloaded via Chrome
  • MacOS – Encrypt folder on Mac without dmg file so that the contents can expand in size
  • MacOS – When you upload a file from online storage to a website, does the file get stored in the Mac
  • How to remove “Where from” information from downloaded .mkv file