From 586f0e211e1d217e04cee5edbb5c8ae4b3caf98c Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Fri, 18 Apr 2025 20:19:05 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20de=20head=20=C3=A0=20tail=20pour=20plus?= =?UTF-8?q?=20d'infos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/local/check_expdp_log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/local/check_expdp_log.sh b/sh/local/check_expdp_log.sh index 4f56261..2477e6b 100644 --- a/sh/local/check_expdp_log.sh +++ b/sh/local/check_expdp_log.sh @@ -18,5 +18,5 @@ fi # afficher les dernières lignes des fichiers log pour voir les les exports se sont bien déroulés echo "

Vérification des dernières lignes dans les logs :

" echo "
"
-find "${EXPDP_DIR}" -iname "export_*.log" -exec bash -c 'echo "--- {} ---"; tail -3 "{}"' \;
+find "${EXPDP_DIR}" -iname "export_*.log" -exec bash -c 'echo "--- {} ---"; head -10 "{}"; tail -10 "{}"' \;
 echo "
"