How to remove extended attributes from a file edited with TextMate

If you run ‘ll -l’ sometimes a file has ‘@’ permission. This means that the file has extended attributes. TextMate may extended attributes to a file. Consider a fictional Python file called xxx.py edited with TextMate:

View extended attributes:

$ xattr xxx.py
com.macromates.caret

Remove extended attribute (com.macromates.caret):

$ xattr -d com.macromates.caret xxx.py

Leave a Reply