This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Written on 2012-12-12 by Philipp Klaus <philipp.l.klaus →AT→ web.de>. | |
Check <https://gist.github.com/4271012> for newer versions. | |
Slightly adapted to include other RAW formats and to make the tool work in reverse (i.e. remove JPEGs for which no raw can be found.) The script also cleans Sidecar (.xmp) files if present. | |
Moved to python3 (see | |
""" |