Log in

No account? Create an account
Previous Entry Share Next Entry
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>