weimmmhhh commited on
Commit
7bcc5ae
·
1 Parent(s): 011bac4
.gitattributes CHANGED
@@ -1 +1,4 @@
1
  *.md filter=lfs diff=lfs merge=lfs -text
 
 
 
 
1
  *.md filter=lfs diff=lfs merge=lfs -text
2
+ *.txt filter=lfs diff=lfs merge=lfs -text
3
+ *.doc filter=lfs diff=lfs merge=lfs -text
4
+ *.xls filter=lfs diff=lfs merge=lfs -text
create_file.sh ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ time=$(date +%Y-%m-%d_%H:%M:%S)
4
+
5
+ function creat_file() {
6
+ # 注:脚本创建的 ppt 打不开,手动 touch 就正常打开?
7
+ file_suffix=(txt doc docx xls xlsx zip)
8
+ # file_suffix=(txt doc)
9
+
10
+ # shellcheck disable=SC2068
11
+ for i in ${file_suffix[@]}; do
12
+ mkdir -vp file/${i}
13
+ for ((j=1; j<=5; j++)) ; do
14
+
15
+ if [[ ${i} = "zip" ]]; then
16
+ cp -R file/txt/ file/zip
17
+ cd file/zip
18
+ zip zip_${j}.zip txt_${j}.txt
19
+ else
20
+ echo ${i}_${j}_${time} > file/${i}/${i}_${j}.${i}
21
+ fi
22
+ done
23
+ done
24
+ }
25
+
26
+
27
+ creat_file
28
+
29
+
30
+
31
+
32
+
33
+ #.txt:文本文件
34
+ #.doc:Microsoft Word 文档
35
+ #.docx:Microsoft Word 2016 文档
36
+ #.pdf:Adobe Acrobat 文档
37
+ #.ppt:Microsoft PowerPoint 演示文稿
38
+ #.pptx:Microsoft PowerPoint 2016 演示文稿
39
+ #.xls:Microsoft Excel 工作表
40
+ #.xlsx:Microsoft Excel 2016 工作表
41
+ #.zip:压缩文件
42
+ #.rar:压缩文件
43
+ #.7z:压缩文件
44
+ #.tar:压缩文件
45
+ #.gz:压缩文件
46
+ #.bz2:压缩文件
47
+ #.iso:镜像文件
48
+ #.jpg:JPEG 图像
49
+ #.png:PNG 图像
50
+ #.gif:GIF 图像
51
+ #.svg:可缩放矢量图 (SVG)
52
+ #.json:JSON 数据文件
53
+ #.cpp:C/C++源代码文件
54
+ #.h:C/C++头文件
55
+ #.py:Python 源代码文件
56
+ #.jsp:Java 服务器页面 (JSP) 文件
57
+ #.html:超文本标记语言 (HTML) 文件
58
+ #.css:层叠样式表 (CSS) 文件
59
+ #.js:JavaScript 文件
60
+ #.ts:TypeScript 文件
61
+ #.fsx:Microsoft Windows API 文件
62
+ #.dylib:MacOS X 动态链接库文件
63
+ #.rar:RAR 压缩文件
file/doc/doc_1.doc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd3b5c5187acc29f7f484e20c03b0795a0922e20a3ab9ac19a0933d568a1a21b
3
+ size 26
file/doc/doc_2.doc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aed180ba7476806b7569cc8cd77cf045e3106e5e58369fc7c893828e86865a8
3
+ size 26
file/doc/doc_3.doc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dac8ae9f46aa88173b7f26b86cf0b965cf222e8db5d5742f4825bdb2e2245029
3
+ size 26
file/doc/doc_4.doc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f156e12f16add7ff867a29c1f1808034e652340f82822ab995de1a358762cb70
3
+ size 26
file/doc/doc_5.doc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7767e197f80885838c1f38e03853fc1d42713c27a1ae5cb808ebc4cbb1346fa2
3
+ size 26
file/docx/docx_1.docx ADDED
@@ -0,0 +1 @@
 
 
1
+ docx_1_2023-04-19_14:27:12
file/docx/docx_2.docx ADDED
@@ -0,0 +1 @@
 
 
1
+ docx_2_2023-04-19_14:27:12
file/docx/docx_3.docx ADDED
@@ -0,0 +1 @@
 
 
1
+ docx_3_2023-04-19_14:27:12
file/docx/docx_4.docx ADDED
@@ -0,0 +1 @@
 
 
1
+ docx_4_2023-04-19_14:27:12
file/docx/docx_5.docx ADDED
@@ -0,0 +1 @@
 
 
1
+ docx_5_2023-04-19_14:27:12
file/txt/txt_1.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d079a23515be55421eb32b491ee413e43241707c45b54098eb0128756806023
3
+ size 26
file/txt/txt_2.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee61b23a372950308709bf2f7cf158554f4b25358aca7a090fefa953729f68dc
3
+ size 26
file/txt/txt_3.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:035319606bd1b0f2ef59172898c734b199a9610683f0a02d14c914724a834887
3
+ size 26
file/txt/txt_4.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4500332a831cbdec153f74523e06e81faee505fd0476ce8431ce709de0c8df79
3
+ size 26
file/txt/txt_5.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96a9fa77e1ac509a266862de9dc22a6785ba2e2070fd18705e15f7d1964ecc2a
3
+ size 26
file/xls/xls_1.xls ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef3c169acb2d14d18dfe5f8983e373fb5322159f6035c90904f1bdac329cf742
3
+ size 26
file/xls/xls_2.xls ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64631525835dc1989f4f67aacb3f1627a37129106fa1d842d1426a3206e01823
3
+ size 26
file/xls/xls_3.xls ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f619378054ceae86597fdaad9d284c23c2e61b613968ec8d683727076279092a
3
+ size 26
file/xls/xls_4.xls ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c88a8a38ac9c937a4dc51ea03aa3ac417446d87d4203e8b18b1f2df2bf5d1834
3
+ size 26
file/xls/xls_5.xls ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9b8c0e391d3df25ac36ba802b870eb04f171533ea6c9be1979c5dcafe7186d3
3
+ size 26
file/xlsx/xlsx_1.xlsx ADDED
@@ -0,0 +1 @@
 
 
1
+ xlsx_1_2023-04-19_14:27:12
file/xlsx/xlsx_2.xlsx ADDED
@@ -0,0 +1 @@
 
 
1
+ xlsx_2_2023-04-19_14:27:12
file/xlsx/xlsx_3.xlsx ADDED
@@ -0,0 +1 @@
 
 
1
+ xlsx_3_2023-04-19_14:27:12
file/xlsx/xlsx_4.xlsx ADDED
@@ -0,0 +1 @@
 
 
1
+ xlsx_4_2023-04-19_14:27:12
file/xlsx/xlsx_5.xlsx ADDED
@@ -0,0 +1 @@
 
 
1
+ xlsx_5_2023-04-19_14:27:12
file/zip/txt_1.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d079a23515be55421eb32b491ee413e43241707c45b54098eb0128756806023
3
+ size 26
file/zip/txt_2.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee61b23a372950308709bf2f7cf158554f4b25358aca7a090fefa953729f68dc
3
+ size 26
file/zip/txt_3.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:035319606bd1b0f2ef59172898c734b199a9610683f0a02d14c914724a834887
3
+ size 26
file/zip/txt_4.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4500332a831cbdec153f74523e06e81faee505fd0476ce8431ce709de0c8df79
3
+ size 26
file/zip/txt_5.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96a9fa77e1ac509a266862de9dc22a6785ba2e2070fd18705e15f7d1964ecc2a
3
+ size 26
file/zip/zip_1.zip ADDED
Binary file (194 Bytes). View file
 
file/zip/zip_2.zip ADDED
Binary file (194 Bytes). View file
 
file/zip/zip_3.zip ADDED
Binary file (194 Bytes). View file
 
file/zip/zip_4.zip ADDED
Binary file (194 Bytes). View file
 
file/zip/zip_5.zip ADDED
Binary file (194 Bytes). View file