NAME
flickr_upload - Upload photos to flickr.com
SYNOPSIS
flickr_upload [--auth] --auth_token <auth_token> [--title <title>] [--description description] [--public <0|1>] [--friend <0|1>] [--family <0|1>] [--tag <tag>] <photos...>
DESCRIPTION
Uploads images to the Flickr.com service.
OPTIONS
- --auth
-
The
--authflag will cause flickr_upload to generate an authentication token against it's API key and secret (or, if you want, your own specific key and secret). This process requires the caller to have a browser handy so they can cut and paste a url. The resulting token should be kept somewhere like~/.flickrrcsince it's necessary for actually uploading images. - --auth_token <auth_token>
-
Authentication token. Required.
- --title <title>
-
Title to use on all the images. Optional.
- --description <description>
-
Description to use on all the images. Optional.
- --public <0|1>
-
Override the default
is_publicaccess control. Optional. - --friend <0|1>
-
Override the default
is_friendaccess control. Optional. - --family <0|1>
-
Override the default
is_friendaccess control. Optional. - --tag <tag>
-
Images are tagged with
tag. Multiple--tagoptions can be given, or you can just put them all into a single space-separated list. - --key <api_key>
- --secret <secret>
-
Your own API key and secret. This is useful if you want to use flickr_upload in auth mode as a token generator. You need both
keyandsecret. Bothkeyandsecretcan be placed in~/.flickrrc, allowing you to mix flickr_upload with your own scripts using a single API key and authentication token. - <photos...>
-
List of photos to upload. Uploading stops as soon as a failure is detected during the upload. The script exit code will indicate the number of images on the command line that were not uploaded. For each uploaded image, a Flickr URL will be generated. flickr_upload uses asynchronous uploading so while the image is usually transferred fairly quickly, it might take a while before it's actually available to users. flickr_upload will wait around for that to complete, but be aware that delays of upwards of thirty minutes have (rarely) be know to occur.
CONFIGURATION
To avoid having to remember authentication tokens and such (or have them show up in the process table listings), default values will be read from $HOME/.flickrrc if it exists. Any field defined there can, of course, be overridden on the command line. For example:
# my config at $HOME/.flickrrc
auth_token=334455
is_public=0
is_friend=1
is_family=1
BUGS
Error handling could be better.
AUTHOR
Christophe Beauregard, cpb@cpan.org.
SEE ALSO
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 257:
You forgot a '=back' before '=head1'