Archive : Prune show only name of the pruned file.
This commit is contained in:
parent
063766d4f8
commit
a4a9666926
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue