view moveLogs.sh @ 23:7c9a45368af2 default tip

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 04 Oct 2024 12:06:16 -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;