tar Linux 压缩命令常用使用场景

解压去掉文件夹,直接得到文件夹内的内容$ tar -xvzf ~/vscode-server-linux-x64.tar.gz --strip-components 1