dotfiles/tools/.local/bin/check_images

9 lines
175 B
Plaintext
Raw Permalink Normal View History

2018-10-02 21:41:43 +01:00
#!/bin/bash
readonly WORK_DIR=$(dirname $(readlink -f $0))
for f in $(find "$WORK_DIR" -name '*'); do
identify "$f" >/dev/null || echo "$f" >>/tmp/fail
done
cat /tmp/fail