From a4a9666926e0e64be3871009e6b4243261f0a1d7 Mon Sep 17 00:00:00 2001 From: desktop Date: Fri, 12 Jan 2024 16:56:52 +0300 Subject: [PATCH] Archive : Prune show only name of the pruned file. --- .config/bash/module/Archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/Archive.sh b/.config/bash/module/Archive.sh index 3e56d9f..97e7fa6 100644 --- a/.config/bash/module/Archive.sh +++ b/.config/bash/module/Archive.sh @@ -142,7 +142,7 @@ function archive_prune() { local prune=($(ls ${target}* | _filter_archive | sort -r | sed -e "1,${versions}d")) for archive in ${prune[@]}; do - rm -- "${archive}" && echo "Prune: ${archive}" + rm -- "${archive}" && echo "${archive}" done }