On Tue, 30 Aug 2011 11:15:46 +0200, Carsten Hoeger
Hi,
I just noticed that I have ~6GB in repositories (binary and source rpms/deps), but my obs uses ~600GB on disk...
Then I found the culprit. It's the /srv/obs/sources folder:
6.4G repos 521G sources
Okay, now how to get rid of the useless old stuff? My disk is again filling up... :-(
Hello, I use a script called from crontab In this example I clean /tmp/ files greater than 7 days old. # cat delete-tmp-greater7days-old.sh #!/usr/bin/sh echo "remove /tmp/ files older than 7 days after in various locations" /bin/df -h # list files then remove find /tmp/. -mtime +7 -exec ls "{}" \; find /tmp/. -mtime +7 -exec rm -rf "{}" \; echo "used after :" /bin/df -h Note:your lines would read find /srv/obs/sources/. -mtime +7 -exec ls "{}" \; find /srv/obs/sources/. -mtime +7 -exec rm -rf "{}" \; Cheers Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org