Skip to content
michalsanger edited this page Dec 20, 2014 · 4 revisions

To download a photoset (aka photo album) you have to know it's ID. Use command flickr_downloadr photoset:list to get the ID (for more info see Photosets-list).

Photoset is downloaded into directory based on it's name. See --dir option if you want to change it. Info about currently downloaded photo is printed during download.

Download photoset

Usage

flickr_downloadr photoset:download 123

(replace 123 with your photoset ID)

The shortcuts are available, so flickr_downloadr photoset:d 123 or flickr_downloadr p:d 123 are the same.

Options

There are several options you can set. Get the full list with basic info:

flickr_downloadr photoset:download --help

--dry-run

Do not realy download but get list of photos from Flickr. Useful for testing of other options.

--dir

Set a directory where the photoset will be downloaded. You can use placeholders that will be replaced with real values:

  • %id% - ID
  • %title% - Title
  • %year% - Year of photoset creation (four digit format)
  • %month% - Month of photoset creation (two digit format)
  • %day% - Day of photoset creation (two digit format)

Default value is %title%-%id%. Subdirectories are supported so you can use e.g. %year%/%month%/%title%

--no-slug

By default photoset title is converted into safe alpha numeric string with spaces replaced by dash. If you want to keep the title intact use this option.

--clean-dir

If the directory exists, current content is kept. Use this option if you want to erase the directory before downloading the photos.

--photo-size

Original size of photos is downloaded by default. You can set one of many supported sizes if you want smaller photos:

  • square - small square 75x75px
  • square_large - large square 75x75px
  • thumbnail - 100px on longest side
  • small - 240px on longest side
  • small_320 - 320px on longest side
  • medium - 500px on longest side
  • medium_640 - 640px on longest side
  • medium_800 - 800px on longest side
  • large - 1024px on longest side
  • large_1600 - 1600px on longest side
  • large_2048 - 2048px on longest side
  • original - original image
Clone this wiki locally