summaryrefslogtreecommitdiffstats
path: root/gold/mining/bin/cleanup_tmp
blob: e1395b19a96810c93e332039bdf35d3693d7d745 (plain)
1
2
3
4
#! /bin/sh
ls -lAtr /tmp/ | sed -rn '
  /\.so$/{$!{s/.* ([A-Za-z0-9]+\.so)$/rm -v \/tmp\/\1/p}}
' | sudo sh