This commit is contained in:
2023-11-14 12:47:45 +01:00
parent 85668bb29f
commit 464ce8987c

View File

@@ -32,13 +32,10 @@ opt_wildlife=false
opt_all=true
long_path=`pwd`"/"`basename "$0"` # /Users/bruno/Documents/Scripts/kymsu2/keywords2insta.sh
# long: /Users/bruno/Documents/GitHub/GooFuzz/keywords2insta.sh
#long_path=$(realpath "$0") # vide
echo "long: $long_path"
dir=$(dirname "$0")
#dir="$0"
echo "dir: $dir"
dir=$(dirname "$0") # /Users/bruno/Documents/Scripts/keywords2insta
trim () {
@@ -194,6 +191,8 @@ fi
[ ! -f "$file" ] && echo -e "${bold}${red}No input file !${reset}" && exit 2
echo -e "\n${greenbold}keywords2insta${reset} v2.0"
# dico français / anglais
fr=()
@@ -221,8 +220,6 @@ if [ -f $dir/keywords.csv ]; then
fi
echo -e "\n${greenbold}keywords2insta${reset} v2.0"
echo -e "\n${bold}Reading $file exif...${reset}"
# The exiftool application exits with a status of 0 on success, or 1 if an