January 28, 2022

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

Remove extended attribute (com.macromates.caret):

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.