2016-12-09 08:48:54 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2016-12-10 15:53:30 -05:00
|
|
|
set -e
|
|
|
|
|
2016-12-09 08:48:54 -05:00
|
|
|
SCRIPT_DIR=$(dirname "$0")
|
|
|
|
|
2016-12-22 17:23:29 -05:00
|
|
|
find "$SCRIPT_DIR/ePapirus" "$SCRIPT_DIR/Papirus" "$SCRIPT_DIR/Papirus-Dark" \
|
2017-01-05 11:03:28 -05:00
|
|
|
"$SCRIPT_DIR/Papirus-Light" -type f -name '*.svg' -print
|
2016-12-09 08:48:54 -05:00
|
|
|
|
|
|
|
echo -n "Do you want to delete the files? [y/N]: "; read REPLY
|
|
|
|
|
|
|
|
case "$REPLY" in
|
|
|
|
[Yy]*)
|
2016-12-22 17:23:29 -05:00
|
|
|
find "$SCRIPT_DIR/ePapirus" "$SCRIPT_DIR/Papirus" "$SCRIPT_DIR/Papirus-Dark" \
|
2017-01-05 11:03:28 -05:00
|
|
|
"$SCRIPT_DIR/Papirus-Light" -type f -name '*.svg' -delete
|
2016-12-09 08:48:54 -05:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Abort."
|
|
|
|
;;
|
|
|
|
esac
|