README corto y sin comentarios en el código
This commit is contained in:
parent
cb551e2a3c
commit
7ed0276704
9 changed files with 7 additions and 165 deletions
|
|
@ -1,7 +1,4 @@
|
|||
#!/bin/sh
|
||||
# Quita metadatos (EXIF, GPS, modelo de móvil) de las imágenes antes de subirlas.
|
||||
# Uso: tools/limpia-img.sh foto1.jpg foto2.png ...
|
||||
# Necesita exiftool (libimage-exiftool-perl) o mat2.
|
||||
set -eu
|
||||
|
||||
[ $# -gt 0 ] || { echo "uso: $0 imagen..." >&2; exit 1; }
|
||||
|
|
@ -17,7 +14,6 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# comprobación: no debe quedar GPS
|
||||
if command -v exiftool >/dev/null 2>&1; then
|
||||
if exiftool -q -q -if '$GPSLatitude' -p '$FileName' -- "$@" 2>/dev/null | grep .; then
|
||||
echo "ojo: quedan coordenadas GPS en las de arriba" >&2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue