Skip to content

Instantly share code, notes, and snippets.

@hofmannsven
Last active November 2, 2023 21:12
Show Gist options
  • Save hofmannsven/9cbda0eeb7708f7af873715ac5bbfee6 to your computer and use it in GitHub Desktop.
Save hofmannsven/9cbda0eeb7708f7af873715ac5bbfee6 to your computer and use it in GitHub Desktop.

"Where from" metadata for macOS files

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 file itself. (source)

Remove "Where from" for macOS files

xattr -d com.apple.metadata:kMDItemWhereFroms filename.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment