start
This commit is contained in:
20
commands/DELETE.sh
Executable file
20
commands/DELETE.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#! /bin/bash
|
||||
echo "⚠️ WARNING: This will permanently delete data."
|
||||
|
||||
select choice in "Abort" "Continue"; do
|
||||
case "$choice" in
|
||||
"Abort")
|
||||
echo "Aborted."
|
||||
exit 1
|
||||
;;
|
||||
"Continue")
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
podman container stop --all
|
||||
|
||||
podman system prune --all
|
||||
|
||||
sudo rm -rdf /storage/flatnote
|
||||
Reference in New Issue
Block a user