3 changed files with 46 additions and 14 deletions
@ -1,31 +1,44 @@ |
|||
# EXIF-image-commenter |
|||
|
|||
a shell script to aid the adding of EXIF comments in photographs or images of most types. |
|||
A shell script to aid the adding of EXIF comments in photographs or images of most types. |
|||
|
|||
## Use |
|||
|
|||
`sh addcomments.sh [foldername]` |
|||
|
|||
`sh readcomments.sh [foldername]` |
|||
|
|||
For example: |
|||
|
|||
`sh readcomments.sh photographs/day-1-selection/` |
|||
|
|||
## Dependencies |
|||
|
|||
## Dependencies : |
|||
* exiftool |
|||
* chafa / feh |
|||
|
|||
### Install exiftool |
|||
|
|||
$ sudo apt install exiftool |
|||
`$ sudo apt install exiftool` |
|||
|
|||
### Install chafa |
|||
|
|||
<https://hpjansson.org/chafa/> |
|||
<https://github.com/hpjansson/chafa/> |
|||
|
|||
$ sudo apt install chafa |
|||
`$ sudo apt install chafa` |
|||
|
|||
Works for Debian Buster, but not on Stretch, ... |
|||
Doesn't work on Ubuntu 16, ... |
|||
Works for Debian Buster, but not on Stretch. Doesn't work on Ubuntu 16. |
|||
|
|||
### Install feh |
|||
|
|||
$ sudo apt install feh |
|||
If chafa cannot be installed on your computer, you can use `feh`. |
|||
|
|||
`$ sudo apt install feh` |
|||
|
|||
## Authors : |
|||
|
|||
* MB |
|||
* slowrussia |
|||
|
|||
These tools were created in the context of NOOO2! |
|||
These tools were created in the context of NOOO2! |
|||
|
@ -0,0 +1,13 @@ |
|||
#!/bin/bash |
|||
|
|||
# A command line photograph EXIF comment reader was built to inspect the annotations of photo files inside the files themselves. |
|||
# The tool also comes with a writing script to add the annotations to the files. See addcomments.sh. |
|||
# https://git.vvvvvvaria.org/varia/EXIF-image-commenter |
|||
|
|||
# How to use it? |
|||
# $ sh readcomments.sh [foldername] |
|||
|
|||
for f in $(ls $1); do |
|||
CURRENT=$(exiftool -S -Comment $1/$f | sed 's/[^ ]* //') |
|||
echo "$f $CURRENT" |
|||
done |
Loading…
Reference in new issue