This is a note of running exiftool with Terminal Emulator on Android.
ExifTool is an Android port of exiftool:
https://play.google.com/store/apps/details?id=ru.al.exiftool&hl=en_US
Editing /data/data/ru.al.exiftool/files/exiftool/exiftool
in root mode:
- Change first line of the file to
#!/data/data/ru.al.exiftool/files/perl/bin/perl -w
- Run
chmod +x /data/data/ru.al.exiftool/files/exiftool/exiftool
to make it executable
Set following environment variables in shell:
export PERL5LIB=/data/data/ru.al.exiftool/files/perl/lib/perl5/5.22.1/arm-androideabi:/data/data/ru.al.exiftool/files/perl/lib/perl5/5.22.1
export PATH=/data/data/ru.al.exiftool/files/exiftool:$PATH