📌  相关文章
📜  终端存档文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:32.731000             🧑  作者: Mango

代码示例1
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

# -c: Create an archive.
# -z: Compress the archive with gzip.
# -v: Display progress in the terminal while creating the archive, also known as “verbose” mode. The v is always optional in these commands, but it’s helpful.
# -f: Allows you to specify the filename of the archive.