Skip to content

jschementi/flickr_photostream_sorter

Repository files navigation

Flickr Photostream Sorter

A command-line tool which sorts your Flickr Photostream by the date each photo is taken. It accomplishes this by setting the date posted to be the same as the date taken.

This is not something Flickr's website current can do for you, other than manually doing it for each photo, as discussed on the Flickr Help Forum.

  • On Mac OS X, all commands can be run in Terminal.app.
  • On Windows, all commands can be run in the Command Prompt.
  • On Linux, use whatever terminal your window manager supports.

For additional information, see the announcement thread on the Flickr Help Forum.

Authentication

You'll need a Flickr API key and secret, which you can get on the Flickr website.

Then set them as environment variables by running the following commands (make sure to change the values to match what Flickr provided):

echo "export FLICKR_API_KEY=0123456789abcdef0123456789abcdef" >> $HOME/.bash_profile
echo "export FLICKR_SECRET=0123456789abcdef" >> $HOME/.bash_profile
source $HOME/.bash_profile

Install

Ensure you have Python 2.7.x installed by running python -V. If Python isn't installed, or you have a version older than 2.7, install the latest version of Python 2.7.

pip install flickr_photostream_sorter

Usage

flickr_photostream_sorter

The first time you run this, your default web browser will open to Flickr's website asking you to authorize this application. Please do - without authorization, this application cannot sort your photostream.

About

Display your Flickr photostream by each photo's taken date.

Resources

License

Stars

Watchers

Forks

Packages

No packages published