chiark
/
gitweb
/
~ianmdlvl
/
autopkgtest.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
merge from --ubuntu
[autopkgtest.git]
/
hosts
/
chiark
/
cleanup
1
#!/bin/sh
2
# this is run out of chiark:~ijackson/junk/crontab.chiark
3
4
set -e
5
cd /home/ijackson/public-html/autopkgtest/testing/
6
7
#rmvia=true
8
9
find * \
10
-maxdepth 2 \
11
-mindepth 2 \
12
\( \
13
-name src \
14
-o -name tmp.\* \
15
-o -type d \
16
-o -size +100k \
17
\) \
18
-mtime +3 \
19
-print0 \
20
| xargs -tr0 $rmvia rm -rf --
21
22
find * \
23
-maxdepth 1 \
24
-mindepth 1 \
25
-type d \
26
-mtime +100 \
27
-print0 \
28
| xargs -tr0 $rmvia rm -rf --
29