Mac OS X command-line of the day

sudo xattr -d *

This removes the “This file was downloaded, are you sure…” warning when dealing with downloaded files.

There are attributes other than, such as:

  • com.macromates.caret

I like that last one.
I guess it’s how TextMate
remembers its position in a text file.

If you want to see what extended attributes your files have, you can either use “xattr -l filename” or just “ls -l@“.

3 Responses to “Mac OS X command-line of the day”

  1. Music Says:

    i have use the extended attributes. its great.

  2. Prabir Says:

    Great post. I liked it.

  3. Pingyao tour Says:

    Great post, what you said is really helpful to me. I can't agree with you anymore. I have been talking with my friend about, he though it is really interesting as well. Keep up with your good work, I would come back to you.

Leave a Reply