changeset 20:8b4481769cc6

fix move logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 05 Aug 2024 11:32:22 +0300
parents a90e510ccc4f
children b14073ab9d07
files moveLogs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/moveLogs.sh	Mon Aug 05 11:29:06 2024 +0300
+++ b/moveLogs.sh	Mon Aug 05 11:32:22 2024 +0300
@@ -6,5 +6,5 @@
 
 reposLogsDir=${ROOTPWD}"/logs/repos";
 ls $reposLogsDir | while read filename; do
-  mv $reposLogsDir/$filename $reposLogsDir/${filename}".0";
+  mv -f $reposLogsDir/$filename $reposLogsDir/${filename}".0";
 done;