CHDK Wiki
(Layout & a bit more explanations added)
m (t)
Line 10: Line 10:
   
 
* to view the extended atribute text type:
 
* to view the extended atribute text type:
xattr pathname/filename
+
xattr pathname/filename
   
   

Revision as of 06:04, 2 February 2011

The following explanations & samples show some information about using Mac's extended file attributes (xattr). This is not directly related to CHDK, but to install CHDK from a Mac it may be neccesary to remove the extended attributes - the camera can't handle those files and won't start or run CHDK...


Macintosh computers add an additional character to the a files permissions, mostly on files downloaded from the web. It is a @ sign and means there is an extended atribute assigned to the file. This character can be seen by using the terminal mode (tv screen in applications files) where everything is typed in.


  • to view files use the ls command
  • to view files with the @ sign use ls -la (parameter -la means: list all)


  • to view the extended atribute text type:
xattr pathname/filename


  • to remove the attribute text type:
xattr -d text to delete pathname/filename


  • to view other options:
xattr -x pathname/filename