(not set) | |
Blog | (not set) |
Website | (not set) |
3
score
|
Create a visual report of the contents of a usb drive$ find /path/to/drive -type f -exec file -b '{}' \; -printf '%s\n' | awk -F , 'NR%2 {i=$1} NR%2==0 {a[i]+=$1} END {for (i in a) printf("%12u %s\n",a[i],i)}' | sort -nr |