Mercurial Hosting > hghosting
view moveLogs.sh @ 27:5f3e2121ce2c default tip
minor shell redirection edit
| author | Violet7 |
|---|---|
| date | Sat, 15 Nov 2025 18:40:42 -0800 |
| parents | d3b72a8bfbe9 |
| children |
line wrap: on
line source
#!/bin/bash -e . common.sh; mv $hgaccesslog ${hgaccesslog}".0"; reposLogsDir=${ROOTPWD}"/logs/repos"; find "$reposLogsDir" -type f ! -empty | while read filename; do mv -f "$filename" "${filename}.0"; done;
