From aacf10769c25ecbffc6b179fc64796bdf69a8b32 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Wed, 13 Mar 2024 17:10:19 +0100 Subject: [PATCH] update show list of dumps with date --- localdump.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/localdump.sh b/localdump.sh index b9bfb45..b19225c 100755 --- a/localdump.sh +++ b/localdump.sh @@ -205,8 +205,7 @@ | sort -ud| sed "s#^\./##g" else # list dumps of a database - find "${BACKUP_TARGETDIR}" -mindepth 1 -maxdepth 1 -type f -name "${1}*" -exec basename {} \; \ - | sed "s#^\./##g" | grep -v "\.meta" + ls -ltr ${BACKUP_TARGETDIR}/${1}*gz | sed "s,${BACKUP_TARGETDIR}/,,g" fi else -- GitLab