I have downloaded an .mkv files from Safari. When I open "Info" in Finder on the file, I see the following link to where it was downloaded from:

enter image description here

How can I remove that metadata from the file?

  • 2
    In Terminal, type man xattr and press enter. Read the manual page. – user3439894 Sep 5 '19 at 23:16

The link listed in "Where from" is stored as an extended attribute named "com.apple.metadata:kMDItemWhereFroms" on the file in the file system - it is not actually saved within the .mkv file itself.

You can remove it by opening Terminal.app and running the following command:

xattr -d com.apple.metadata:kMDItemWhereFroms filename.mkv

where filename.mkv is to be replaced with the actual path and name of the file. The easiest way to do that is simply to write the first part of the command, and then drag the .mkv file into the Terminal.app window.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .