SingleBiggestFileInDeb
parent
1257b4cf9d
commit
36c529d46b
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# find single biggest file in an installed deb-pkg:
|
||||||
|
export PKG=vim; for i in $(dpkg -L PKG) ; do if [[ -f "$i" ]] && [[ ! -L "$i" ]]; then ls -lh1 $i ;fi; done | sort -k 5 -hr | head -1 | cut -d " " -f 5,9-
|
Loading…
Reference in New Issue