diff moveLogs.sh @ 20:8b4481769cc6

fix move logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 05 Aug 2024 11:32:22 +0300
parents 64eee582fec1
children
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;