Skip to content

Instantly share code, notes, and snippets.

@sacrifs
Created October 16, 2015 15:51
Show Gist options
  • Save sacrifs/4dde72b7df74c4717da5 to your computer and use it in GitHub Desktop.
Save sacrifs/4dde72b7df74c4717da5 to your computer and use it in GitHub Desktop.
Macで置いたディレクトリ以下のファイルのタグを消去
#!/bin/sh
cd `dirname $0`
xattr -d -r com.apple.FinderInfo ./
xattr -d -r com.apple.metadata:_kMDItemUserTags ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment