This file contains 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
### BACKUP IPHOTO LIBRARY FIRST BEFORE RUNNING ANYTHING | |
#Place this file in ~/Pictures/iPhoto Library and run. | |
#brew install ffmpeg if you don't have ffmpeg installed | |
rm -rf converted | |
for x in $(find . -iname \*.mov) ; do | |
ffmpeg -i $x 2>&1 | grep -q '1920x1080' | |
if [ $? == 1 ] | |
then |