Created
February 5, 2015 09:45
-
-
Save mamemomonga/ef82d6d45088e4f7f3bb to your computer and use it in GitHub Desktop.
OSXでカレントディレクトリにあるファイルのZone.Identiferを削除し、「ロック」フラグを削除し、パーミッションを644に変更する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
xattr -d Zone.Identifier * | |
chflags -R nouchg * | |
sudo chown 644 * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment