:<<'info' shellnotes - .clearlogs.sh (C) Dimitris Marakomihelakis Released under the "All rights reserved" category. See the RIGHTS.txt file in /docs/github/ for its full text. info function clearlogs() { echo -n "Are you sure? " && read input case $input in Y|Yes|yes|y|YES ) cd ~/.shellnotes/util/exec chmod +x clearlogs ./clearlogs cd ../../logs/sne touch delete # In case directory is already empty /bin/rm -f * echo "[shellnotes] Logfiles cleared." esac cd $DIR }