view moveLogs.sh @ 21:b14073ab9d07

update luan
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 14 Sep 2024 22:17:26 -0600
parents 8b4481769cc6
children
line wrap: on
line source

#!/bin/bash -e

. common.sh;

mv $hgaccesslog ${hgaccesslog}".0";

reposLogsDir=${ROOTPWD}"/logs/repos";
ls $reposLogsDir | while read filename; do
  mv -f $reposLogsDir/$filename $reposLogsDir/${filename}".0";
done;