From 587f67af93eaac1d9b1927e4bf97c7c05db510b2 Mon Sep 17 00:00:00 2001 From: Kim Date: Tue, 21 Sep 2021 20:45:25 +0200 Subject: [PATCH] change trash_empty --- trash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trash.sh b/trash.sh index 36951a0..f821376 100644 --- a/trash.sh +++ b/trash.sh @@ -20,8 +20,8 @@ trash_put() { } trash_empty() { + echo "Delete $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash" \rm -rf "${TRASH_DIR:?}/"* && echo >"$FILE_PATHS_FILE" - echo "Deleted $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash" } trash_restore() {