blob: 4faad72f04651a1f2ed984a7b6076e4a840804b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/env bash
# clean 4.x M builds
find /home/data/httpd/download.eclipse.org/eclipse/downloads/drops4 -maxdepth 1 -ctime +30 -name "M*" -ls -exec rm -fr '{}' \;
source /shared/eclipse/sdk/updateIndexFilesFunction.shsource
updateIndex
# shared (build machine)
# can be aggressive in removing builds from "downloads", and even "updates" now with new method used in CBI builds
find /shared/eclipse/builds/4I/siteDir/eclipse/downloads/drops4 -maxdepth 1 -ctime +2 -name "I*" -ls -exec rm -fr '{}' \;
find /shared/eclipse/builds/4I/siteDir/equinox/drops -maxdepth 1 -ctime +2 -name "I*" -ls -exec rm -fr '{}' \;
find /shared/eclipse/builds/4I/siteDir/updates/4.5-I-builds -maxdepth 1 -ctime +2 -name "I*" -ls -exec rm -fr '{}' \;
# don't really need these yet, until after Kepler
find /shared/eclipse/builds/4M/siteDir/eclipse/downloads/drops4 -maxdepth 1 -ctime +2 -name "M*" -ls -exec rm -fr '{}' \;
find /shared/eclipse/builds/4M/siteDir/equinox/drops -maxdepth 1 -ctime +2 -name "M*" -ls -exec rm -fr '{}' \;
find /shared/eclipse/builds/4M/siteDir/updates/4.4-M-builds -maxdepth 1 -ctime +2 -name "M*" -ls -exec rm -fr '{}' \;
|