Shell 查找文件最多的目录

阅读(4220)

查找文件最多的目录

find /[^udp]*/ -type f | awk -F / -v OFS=/ '{$NF="";dir[$0]++}END{for(i in dir)print dir[i]" "i}' | sort -k1 -nr | head
Tags:

仅有 1 条吐槽

  1. Johan Fourie Johan Fourie

    Hello kaifage.com

    We noticed your website kaifage.com doesn't have a Mobile App for iOS and Android.

    We are building Android and iOS Apps for $99 each a combo deal of $149 for both

    You can get a free preview on PCXLeads or email us back and we will send you a mockup for your apps.

    This promo is valid till end of June 2024.

    Regards,
    PCXLeads