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
#!/usr/local/bin/zsh | |
for entry in *."$1" | |
do | |
Filename=${entry%.*} | |
echo "setting title -> " $Filename | |
FileTitle=$(exiftool -s -Title "$entry" | awk '{print $3}'); | |
echo "file title: " $FileTitle | |
if [ "$FileTitle" = "$Filename" ]; then | |
echo "File title is the same as filename, skipping..." |
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
No :( |