Skip to main content

Sort your Flickr photostream by changing each photo's posted date to when it was taken.

Project description

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 this help forum thread shows:

  • On Mac OS X, all commands can be run in

  • On Windows, all commands can be run in the Command Prompt.

  • On Linux, use whatever terminal your window manager supports.


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


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



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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flickr_photostream_sorter-0.1.tar.gz (4.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page