展示 HN:Fst – 轻量级 C 实用工具,用于详细目录统计 LGPL 3.0

2作者: Forgret7 天前原帖
嗨,HN, 我刚刚发布了 fst,这是一个极简的 C 工具,提供有关目录的全面统计信息。它的设计目标是快速,无依赖,并且可以完全静态编译。 功能: - 统计文件、目录、空文件/文件夹的数量 - 对二进制文件、文本文件和脚本文件进行分类 - 显示最小、最大和平均文件大小 - 识别最近和最旧的文件 - 列出可执行文件、符号链接和硬链接 - 支持人类可读的文件大小和递归统计 关键点: - 采用纯 C 编写,依赖极少,速度极快 - 支持 ARM 和 x86 架构,完全静态编译 - 可以不带参数运行(默认当前目录) - 采用 LGPL 3.0 许可证 - GitHub 仓库:[https://github.com/Ferki-git-creator/fst-ferki](https://github.com/Ferki-git-creator/fst-ferki) 已提交给 GNU 进行审查 我希望能从社区获得反馈、想法和贡献。目标是增强可用性,添加更多指标,并可能在未来扩展国际化支持。 任何想法或建议都将非常感谢!
查看原文
Hi HN,<p>I’ve just released fst, a minimalistic C utility that provides comprehensive statistics about directories. It’s designed to be fast, with no dependencies, and is fully statically compilable.<p>Features:<p>Counts of files, directories, empty files&#x2F;folders<p>Classifies binary, text, and script files<p>Displays min, max, and average file sizes<p>Identifies recent and oldest files<p>Lists executable files, symbolic and hard links<p>Supports human-readable sizes and recursive stats<p>Key Points:<p>Written in pure C, minimal dependencies, lightning fast<p>Works on both ARM and x86 architectures, fully statically compilable<p>Can run with no arguments (defaults to the current directory)<p>Licensed under LGPL 3.0<p>GitHub repository: <a href="https:&#x2F;&#x2F;github.com&#x2F;Ferki-git-creator&#x2F;fst-ferki" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Ferki-git-creator&#x2F;fst-ferki</a><p>Submitted to GNU for review<p>I&#x27;m seeking feedback, ideas, and contributions from the community. The goal is to enhance usability, add more metrics, and possibly extend internationalization support in the future.<p>Any thoughts or suggestions would be highly appreciated!