view moveLogs.sh @ 22:e65668ff8822

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 15 Sep 2024 08:21:43 -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;