This PHP script allows you to sync a local folder with your Flickr account in command line