diff options
author | tv <tv@xso> | 2011-08-24 16:45:00 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-08-24 16:45:00 +0200 |
commit | c37ab9c4accc58919e87ad4eee1ef19f49eed873 (patch) | |
tree | e640c348718e2a72770ce47d03e4549b6fbce80f /gold/mining/bin/cleanup_tmp | |
parent | e7a148349ef3e1e4e1607fd29148bec51dc4ed82 (diff) |
{btc -> gold} SC & co., we're ready
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 |