forked from Public/pics
Fix rotation through exiftool after importing.
This commit is contained in:
parent
0d1fce41c8
commit
e6b0c13354
1
TODO.md
1
TODO.md
@ -1,6 +1,5 @@
|
||||
TODO:
|
||||
|
||||
* Draaiing van foto's bij importeren goedzetten
|
||||
* Pagina om één foto te bekijken
|
||||
* Taggen door gebruikers
|
||||
* Uploaden door gebruikers
|
||||
|
20
import_postprocess.sh
Normal file
20
import_postprocess.sh
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ALBUM UPDATE
|
||||
|
||||
# Hashes uit filenames.
|
||||
find . -name '*#*' -exec rename -v "s/#//" {} \;
|
||||
|
||||
# Orientatie-tags goedzetten.
|
||||
find public/assets/borrel/april-2015/ -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Eetpartijtjes/ruwinterbbq/ -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Eetpartijtjes/Tapasavond-oktober-2011/ -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Eetpartijtjes/Verjaardag-IV-bij-Wally/ -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Uitstapjes/Final-Symphony-Wuppertal-2013-05-11/ -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Universiteit/Oude-sneeuwfoto\'s/ -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Weekenden/Susteren-2012 -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Weekenden/Susteren-2013 -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
find public/assets/Weekenden/Wijhe-2016/ -type f -exec exiftool -n -Orientation=1 "{}" \;
|
||||
|
||||
# Remove backup files.
|
||||
find public/assets/ -type f -name '*_original' -delete
|
Loading…
Reference in New Issue
Block a user