For the record - I executed:
# cat /tmp/p
set -e
cd /var/lib/copr/public_html/results
for i in */*/srpm-builds/; do
pushd "$i" >/dev/null
echo "Purging $PWD"
find ./ -mtime +14 -type f| xargs --no-run-if-empty rm
cd ..
find srpm-builds/ -empty -type d |xargs --no-run-if-empty rmdir
popd >/dev/null
done
Free disk space went up from
225G
to
909G
.
Miroslav