dotfiles/tools/.local/bin/check_images
Diogo Cordeiro c6cc2d3f9d first commit
2021-02-18 17:53:07 +00:00

9 lines
175 B
Bash

#!/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