better output while relocating sectors
[sysadmin-cookbook] / recepies / smart / count-drives.sh
1 ls */smart.* | cut -d. -f2 | cut -d_ -f-3 | cut -d\- -f1 | sort | uniq -c