git://git.onelab.eu
/
infrastructure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
updated to reflect correct initial ownership of /plc/devel/data/root/bin
[infrastructure.git]
/
scripts
/
nightly-clean-trash.sh
1
#!/bin/bash
2
# -maxdepth 1 : scans dir and immediate sons
3
# -mtime +1 : older than one day
4
# grep -v : preserve the top directory
5
find /build/trash -maxdepth 1 -mtime +1 -print | grep -v 'trash/*$' | xargs rm -rf