Skip to content

Commit eb0b2ce

Browse files
committed
war
1 parent 86545ab commit eb0b2ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

markdown-file/File-Extract-Compress.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
## 常用文件进行--压缩--命令整理
4141

4242
- Linux 压缩文件夹为后缀 `.war` 格式的文件(最好不要对根目录进行压缩,不然会多出一级目录)
43-
- 命令:`jar -cvfM0 cas.war /opt/cas/META-INF /opt/cas/WEB-INF`
43+
- 命令:`jar -cvfM0 cas.war /opt/cas/META-INF /opt/cas/WEB-INF /opt/cas/index.jsp`
44+
- 或者命令:`jar -cvfM0 cas.war /opt/cas/*`
4445

4546
- Linux 压缩文件为后缀 `.tar` 格式的文件
4647
- 命令:`tar -zcvf test11.tar test11`

0 commit comments

Comments
 (0)