Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一个 DOS 命令,它将列出 C 驱动器顶层的目录和文件,并列出它们的完整大小(即通过递归分析 - 但只返回顶层大小)。
有什么我可以在命令行上运行的东西吗?
Turns out the trick to this is to fire up cygwin and run
du -k . | egrep -v "\./.*/.*" | sort -n