[opensuse-buildservice] lots of empty directories/trees on download.opensuse.org
8 Jul
2011
8 Jul
'11
14:34
I happened to notice quite some time ago (and noted it at that time) that old packages and projects still have their hierarchy represented on download.opensuse.org/repositories/ It seems to me that something like this would work to remove them: find /some/root -depth -type d -empty -exec rmdir {} \; it wouldn't remove non-empty directories or any files, etc... but would effectively remove empty directory trees, of which there are quite a few. If you wanted to know how many, just do this: find /some/root -depth -type d -empty | wc -l -- Jon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
4668
Age (days ago)
4668
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jon Nelson