du 命令计算隐藏文件夹或文件

 

du -sh *
16K     arch
4.0K    bundle.go
716K    cmd
4.0K    CODE_OF_CONDUCT.md
4.0K    CODEOWNERS
4.0K    command.go
8.0K    config.go
16K     conformance
8.0K    container.go
4.0K    CONTRIBUTING.md
12K     data
12K     Dockerfiles
44K     functional
16K     Gopkg.lock
4.0K    Gopkg.toml
1.4M    integration
32K     kata-webhook
16K     lib
12K     LICENSE
4.0K    log.go
12K     Makefile
388K    metrics
16K     pentest
4.0K    process.go
4.0K    rand.go
12K     README.md
8.0K    sanity
12K     stress
12K     tracing
12K     Unit-Test-Advice.md
28M     vendor
4.0K    VERSION

 

 

du -sh * .[^.]*
16K     arch
4.0K    bundle.go
716K    cmd
4.0K    CODE_OF_CONDUCT.md
4.0K    CODEOWNERS
4.0K    command.go
8.0K    config.go
16K     conformance
8.0K    container.go
4.0K    CONTRIBUTING.md
12K     data
12K     Dockerfiles
44K     functional
16K     Gopkg.lock
4.0K    Gopkg.toml
1.4M    integration
32K     kata-webhook
16K     lib
12K     LICENSE
4.0K    log.go
12K     Makefile
388K    metrics
16K     pentest
4.0K    process.go
4.0K    rand.go
12K     README.md
8.0K    sanity
12K     stress
12K     tracing
12K     Unit-Test-Advice.md
28M     vendor
4.0K    VERSION
4.0K    versions.yaml
177M    .ci
61M     .git
28K     .github
4.0K    .gitignore
4.0K    .travis.yml

 

上一篇:如何写一个前端cli项目


下一篇:iOS开发UI篇—Quartz2D使用(绘制基本图形)