linux 压缩解压文件
Last updated on November 22, 2024 pm
🧙 Questions
☄️ Ideas
tar.gz
# 解压hadoop-3.3.4.tar.gz到/Users/ispong/Tools/hadoop/下
tar -vzxf hadoop-3.3.4.tar.gz -C /Users/ispong/Tools/hadoop/
# 压缩
tar -czf offline.tar.gz ./offline
tar
# 将 xxx.tar 解压到 /opt 目录下
tar -vxf xxx.tar -C /opt
gz
# 解压 xxx.gz
gzip -d xxx.gz
tgz
tar -vzxf flink-1.12.7-bin-scala_2.12.tgz -C /Users/ispong/opt/flink
cd /home/user
tar -czvf myfolder.tgz myfolder
🔗 Links
linux 压缩解压文件
https://ispong.isxcode.com/os/linux/linux 压缩解压文件/