Skip to content

Instantly share code, notes, and snippets.

@TiiFuchs
TiiFuchs / tg2exif.sh
Created June 5, 2019 23:37
Parses the datetime from exported Telegram photos and reinserts them as EXIF recording date.
#!/bin/bash
folder=$(realpath $1)
if [[ ! -d $folder ]]; then
echo "No valid folder."
exit 1
fi
# Delete Thumbnails

Keybase proof

I hereby claim:

  • I am tiifuchs on github.
  • I am tii (https://keybase.io/tii) on keybase.
  • I have a public key ASAH_h6528fmxJArIw2FD-iQs8iBGypL3ANE4pfqeGnGJAo

To claim this, I am signing this object: