16 lines
No EOL
379 B
Bash
16 lines
No EOL
379 B
Bash
:<<'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
|
|
./clearlogs
|
|
echo "[shellnotes] Logfiles cleared."
|
|
esac
|
|
cd $DIR
|
|
} |