Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将文件提取到特定目录,但它不会产生结果。
命令:
zcat /export/home/tceng/Desktop/temp/3.tar.Z | tar -xf - -C /export/home/tceng/Desktop/temp/TestExtractUtility/
如果我们在上面的命令中删除 value -C ,它会产生结果。
谢谢
尝试:
zcat ... | ( cd /path/to/desired/directory; tar -xf - )