notes/Ubuntu/tar.md

15 lines
215 B
Markdown
Raw Permalink Normal View History

2024-04-29 02:07:50 +08:00
### tar
2023-09-11 18:18:20 +08:00
#### 压缩
* 将一个文件夹压缩成 tar 格式
```
tar -czvf example.tar.gz example_folder/
```
#### 解压
* 将一个文件夹压缩成 tar 格式
```
tar -xzvf example.tar.gz example_folder/
```