10 lines
159 B
Bash
10 lines
159 B
Bash
read -p "Are you sure? " -n 1 -r
|
|
echo # (optional) move to a new line
|
|
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
rm -rf Log
|
|
rm -rf Parameters
|
|
rm *.txt
|