find space wasters
public shellscript v1 · immutable#!/bin/shfiles=$(find / -size +100k -xdev | xargs dpkg -S)IFS=''for n in $files ; do pkg=$(echo $n | cut -d: -f1) file=$(echo $n | cut -d' ' -f2) size=$(du -k $file | cut -f1) echo "$size kB is taken by $file from $pkg"done | sort -n -r | head -n100