Skip to content

Commit

Permalink
Remove zip files because they cost too much storage
Browse files Browse the repository at this point in the history
  • Loading branch information
heqin-zhu committed Jan 29, 2019
1 parent 36728c3 commit f7b9869
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ FTP 更快, 可以下载整个目录, 是最好的选择, 只是更新频率低
* 课程主页及其他链接资源记在 README.md 中
* slides: 主要是 ppt 文件类型, **将所有 slides** 打包成 zip, 放在 课程目录下(若有多个老师,则在课程目录建立slides-teacherName1.zip, slides-teacherName2.zip...)
* students(同学们上传的自己的一些资料,作品,每个同学新建一个目录)
* 非zip, 非以'.'开头的文件多于 3 个的目录下都有个 zip 文件:`-DIRECTORY 目录下的\d+个文件.zip`,包含当前目录下的一些文件, 这样方便大家一键下载. (在 git commit前, 运行 `./before__commit.sh`可以自动生成)


如 编译原理和技术 课程
Expand Down
4 changes: 2 additions & 2 deletions before_commit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
echo "generating zip files..."
python3 utils/genZipFile.py #-r
#echo "generating zip files..."
#python3 utils/genZipFile.py #-r

echo "checking big files(>100M) and removing them..."
python3 utils/checkBigFile.py
Expand Down
Binary file not shown.
3 changes: 2 additions & 1 deletion utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
</html>
'''

#* 非zip, 非以'.'开头的文件多于 3 个的目录下都有个 zip 文件:`-DIRECTORY 目录下的\d+个文件.zip`,包含当前目录下的一些文件, 这样方便大家一键下载. (在 git commit前, 运行 `./before__commit.sh`可以自动生成)

README=r'''
# 中国科学技术大学课程资源
>这是一个收集 中国科学技术大学课程资源的(主要是计算机学院的,也有其他课程,公选课,自由选修等)的 repo, 包括课程电子版 书籍,参考书,slides(ppt), 考试试卷,学习心得,某些书的答案。
Expand Down Expand Up @@ -119,7 +121,6 @@
* 课程主页及其他链接资源记在 README.md 中
* slides: 主要是 ppt 文件类型, **将所有 slides** 打包成 zip, 放在 课程目录下(若有多个老师,则在课程目录建立slides-teacherName1.zip, slides-teacherName2.zip...)
* students(同学们上传的自己的一些资料,作品,每个同学新建一个目录)
* 非zip, 非以'.'开头的文件多于 3 个的目录下都有个 zip 文件:`-DIRECTORY 目录下的\d+个文件.zip`,包含当前目录下的一些文件, 这样方便大家一键下载. (在 git commit前, 运行 `./before__commit.sh`可以自动生成)
如 编译原理和技术 课程
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed 工具类/-工具类目录下的3个文件.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit f7b9869

Please sign in to comment.