Archive : Prune show only name of the pruned file.

This commit is contained in:
Dmitry Voronin 2024-01-12 16:56:52 +03:00
parent 063766d4f8
commit a4a9666926

View file

@ -142,7 +142,7 @@ function archive_prune() {
local prune=($(ls ${target}* | _filter_archive | sort -r | sed -e "1,${versions}d")) local prune=($(ls ${target}* | _filter_archive | sort -r | sed -e "1,${versions}d"))
for archive in ${prune[@]}; do for archive in ${prune[@]}; do
rm -- "${archive}" && echo "Prune: ${archive}" rm -- "${archive}" && echo "${archive}"
done done
} }