0
根据用户输入的目录路径和占用阈值,自动生成可直接在终端运行的Shell脚本,用来统计目录下各子项磁盘占用,输出超过阈值的大文件目录信息。
复制
Based on the provided target directory path and disk usage threshold, output a complete Shell script that can run directly in a Linux terminal. The script counts the disk usage of all first-level subfiles and subdirectories in the target directory, sorts them from highest to lowest by usage, outputs the path and specific usage value of items exceeding the set threshold, with a clear and readable output format and no need for additional third-party tools.
复制
根据用户提供的目标目录路径和磁盘占用阈值,生成可以直接在Linux终端运行的完整Shell脚本,脚本会统计目标目录下所有一级子文件和子目录的磁盘占用大小,按照占用从高到低排序,输出大小超过设定阈值的项目的路径和具体占用数值,输出格式清晰易读,不需要额外依赖第三方工具。
复制
推荐





首页
