Nathan (gemsling) wrote,
Nathan
gemsling

Extended attributes in Leopard

Interesting to see that PictureSync saves the Flickr ID as an attribute on the file when uploading it:

[~/Photos/Originals/2008/07/]: ls -l@ 20080719_022.jpg
-rw-r--r--@ 1 nathanj nathanj 387424 21 Jul 21:06 20080719_022.jpg
com.flickr.ID 10

[~/Photos/Originals/2008/07/]: xattr -l 20080719_022.jpg
com.flickr.ID: 2688986382

[~/Photos/Originals/2008/07/]: curl -q www.flickr.com/photos/gemsling/2467418681/ | grep \"<title>\"
<title>Dom's 30th on Flickr - Photo Sharing!</title>
Tags: tech
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments