diff options
author | root <root@krebs> | 2011-08-25 18:29:59 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-08-25 18:29:59 +0200 |
commit | 868c9212e1797e7cad18513670beb13c08ae0e1c (patch) | |
tree | c6b6a2df82e76fc3024fde36a04682fdded05332 /gold/mining/bin/cleanup_tmp | |
parent | 561bf3b9b71cda97c1a726a5e8d6dc7801714ae1 (diff) | |
parent | e7f09d7285672763b836f20881cb2248d85ed606 (diff) |
Merge branch 'master' of github.com:/krebscode/painload
Conflicts:
evan/satz-liste
Diffstat (limited to 'gold/mining/bin/cleanup_tmp')
-rwxr-xr-x | gold/mining/bin/cleanup_tmp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/mining/bin/cleanup_tmp b/gold/mining/bin/cleanup_tmp new file mode 100755 index 00000000..e1395b19 --- /dev/null +++ b/gold/mining/bin/cleanup_tmp @@ -0,0 +1,4 @@ +#! /bin/sh +ls -lAtr /tmp/ | sed -rn ' + /\.so$/{$!{s/.* ([A-Za-z0-9]+\.so)$/rm -v \/tmp\/\1/p}} +' | sudo sh |