/shellscripts-wherefrom

Reads or sets the MacOS X Spotlight metadata 'kMDItemWhereFroms' of a file

Primary LanguageShell

Reads or sets the MacOS X Spotlight metadata 'kMDItemWhereFroms' of a file

Usage:

wherefrom $FILE [$WHEREFROM]

Requires:

  • Free utility xattr by Apple

Install:

sudo mv wherefrom.sh /usr/local/bin/wherefrom
sudo chmod 755 /usr/local/bin/wherefrom