SingleBiggestFileInDeb
This commit is contained in:
parent
1257b4cf9d
commit
36c529d46b
4
oneliners.sh
Normal file
4
oneliners.sh
Normal file
@ -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
Block a user