keepassxc/share/crushpng.sh

8 lines
150 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [[ -z $1 ]]; then
echo "You must supply a root folder!"
exit 1
fi
find "$1" -iname '*png' -exec pngcrush -ow -brute {} \;