Bal*_*a K 9 unix tar archiving
我想在Unix tar xvf /home/test/group.tar中提取tar文件,一旦提取了一个文件夹组,其中包含xls,pdf,txt文件列表.
如何在不创建组文件夹的情况下,在/ home/test/list of xls,pdf文件中提取group.tar的内容.
任何特定的命令可用或必须遵循复制和移动?
谢谢!
Vas*_*lis 19
您可以使用该--strip-components 1参数.
tar xvf group.tar --strip-components 1
Run Code Online (Sandbox Code Playgroud)