From 1e48d5847a768d60a1b16426e7c414c44ba9bd6a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 27 Jul 2025 21:30:27 +0200 Subject: [PATCH] remove --- sh/io/rm.sh | 9 +++++++++ sh/util.sh | 7 ------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/sh/io/rm.sh b/sh/io/rm.sh index 8c42b10..8cf9a4f 100644 --- a/sh/io/rm.sh +++ b/sh/io/rm.sh @@ -1,5 +1,14 @@ # rm +# remove recursively +#| rm +rwx_remove() { + rm \ + --force \ + --recursive \ + "${@}" +} + # remove interactively #| rm #= rmi diff --git a/sh/util.sh b/sh/util.sh index f622b2c..1ea4b51 100644 --- a/sh/util.sh +++ b/sh/util.sh @@ -28,13 +28,6 @@ rwx_read_secret() { unset secret } -rwx_remove() { - rm \ - --force \ - --recursive \ - "${@}" -} - rwx_warn_wipe() { local tmp rwx_list_block