• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Remove Extended Attributes on Mac

April 3, 2022

If you have a file with @ sign at end, this is how to remove extended attributes on the Mac OS.

Example.

ls -l
-rwxr-xr-x@  4 username  staff   128 Mar 24 10:51 sample.txt

ls -l -rwxr-xr-x@ 4 username staff 128 Mar 24 10:51 sample.txt

Remove extended attributes.

xattr -c sample.txt

xattr -c sample.txt

Result

ls -l
-rwxr-xr-x  4 username  staff   128 Mar 24 10:51 sample.txt

ls -l -rwxr-xr-x 4 username staff 128 Mar 24 10:51 sample.txt

Filed Under: Linux, Mac Tagged With: attributes, extended, mac os, remove

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023