# datafilling **Repository Path**: mo-shan/datafilling ## Basic Information - **Project Name**: datafilling - **Description**: 临时文件生成器,主要是用于磁盘填充工具,目的是对硬盘进行彻底擦除。 - **Primary Language**: C - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2024-08-09 - **Last Updated**: 2025-07-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # datafilling #### 介绍 临时文件生成器,主要是用于磁盘填充工具,目的是对硬盘进行彻底擦除。 #### 软件架构 软件架构说明 #### 安装教程 本工具免安装,直接下载使用即可。 - windows版本是datafilling.exe,在windows 10 测试通过。 - centos版本是datafilling,在centos 7.9 64位测试通过。 如果需要在其他平台编译请参考下面的编译命令。 ``` gcc -std=c99 datafilling.c -o datafilling ``` #### 使用说明 1. windows版本 > windows 10测试平台 (1)机械盘 ``` D:\workspace\coding\c\datafilling>.\datafilling.exe --help Description : This is a text file generator that defaults to 1GB per file and does not support changing the size. The user can specify a number to tell the tool how many files it needs to generate to fill up the storage device. .\datafilling.exe OPTIONS : -c | --count 10 [ Please output a number, the number of files (one file is 1GB) ] Synopsis : .\datafilling.exe -c 10 .\datafilling.exe --count 10 Please contact me: mo_shan@yeah.net/1005155691 D:\workspace\coding\c\datafilling> D:\workspace\coding\c\datafilling>.\datafilling.exe --count 10 2024-08-09 11:27:21 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, yB1mn914Uu.tmp [1] 2024-08-09 11:27:31 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, ADLE3TlSxG.tmp [2] 2024-08-09 11:27:42 1073741824 bytes (1024 MB) copied, 11.000000 s, 93.090909 MB/s, sI1iW4TSjD.tmp [3] 2024-08-09 11:27:53 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, k78oyR9mqk.tmp [4] 2024-08-09 11:28:03 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, iNX7m2MRtP.tmp [5] 2024-08-09 11:28:13 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, krfuAQRwmu.tmp [6] 2024-08-09 11:28:23 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, t5f9acRx5Q.tmp [7] 2024-08-09 11:28:33 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, luvBEABxoo.tmp [8] 2024-08-09 11:28:43 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, wrXTJ1j84b.tmp [9] 2024-08-09 11:28:53 1073741824 bytes (1024 MB) copied, 10.000000 s, 102.400000 MB/s, MX2JiRTa7J.tmp [10] D:\workspace\coding\c\datafilling> ``` 2. linux版本 (1)固态盘 ``` # ./datafilling --count 10 2024-08-09 11:23:33 1073741824 bytes (1024 MB) copied, 4.000000 s, 256.000000 MB/s, AvvVTfeM26.tmp [1] 2024-08-09 11:23:39 1073741824 bytes (1024 MB) copied, 6.000000 s, 170.666667 MB/s, yxXelRS91j.tmp [2] 2024-08-09 11:23:45 1073741824 bytes (1024 MB) copied, 4.000000 s, 256.000000 MB/s, j9RZjLhAgU.tmp [3] 2024-08-09 11:23:50 1073741824 bytes (1024 MB) copied, 5.000000 s, 204.800000 MB/s, pX8fuGaEQm.tmp [4] 2024-08-09 11:23:54 1073741824 bytes (1024 MB) copied, 4.000000 s, 256.000000 MB/s, GHQocfnxv8.tmp [5] 2024-08-09 11:23:59 1073741824 bytes (1024 MB) copied, 5.000000 s, 204.800000 MB/s, pIo6eacntU.tmp [6] 2024-08-09 11:24:04 1073741824 bytes (1024 MB) copied, 5.000000 s, 204.800000 MB/s, heHR0qQKPZ.tmp [7] 2024-08-09 11:24:08 1073741824 bytes (1024 MB) copied, 4.000000 s, 256.000000 MB/s, zXkhiWektI.tmp [8] 2024-08-09 11:24:13 1073741824 bytes (1024 MB) copied, 5.000000 s, 204.800000 MB/s, 1WrNUmiTkB.tmp [9] 2024-08-09 11:24:18 1073741824 bytes (1024 MB) copied, 5.000000 s, 204.800000 MB/s, ylTMOg3bUj.tmp [10] # ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)