A command-line utility that process the backup files generated by Flickr's Request My Flickr Data feature (Download All Content section).
Features:
- Organize your photos into albums/folders.
- Photos without albums will be grouped in a separate directory.
- Write a duplicates registry (photos shared among two or more albums).
Make sure all photos are contained in a single directory and that you have the
Flickr-generated albums.json
file.
usage: flickr-backup.py [-h] [-o OUTPUT_DIR] [-a ALBUM_JSON] [-v] photos_dir
Flickr backup files utility.
positional arguments:
photos_dir Folder where photos are located.
optional arguments:
-h, --help show this help message and exit
-o OUTPUT_DIR, --output_dir OUTPUT_DIR
Output folder. Defaults to 'photos_dir'.
-a ALBUM_JSON, --album_json ALBUM_JSON
Folder where the 'albums.json' is located. Defaults to
'photos_dir'.
-v, --verbosity Adds verbosity.
Currently only Linux and Python 3.6+ (or later) are supported.
Developed in Python 3.7+. Before opening a PR make sure to pass:
- flake8
$ flake8
- black
- check:
$ black --config .black --check --diff .
- format:
$ black --config .black .
- check:
- mypy
$ mypy flickr-backup.py flickr
Created and maintained by Lionel Mena.
Licensed under GNU General Public License v3. More