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