Follow

tar的--one-top-level选项可以为压缩包自动创建文件夹。*
用例:$ tar -xf filename.tgz --one-top-level
* askubuntu.com/a/1018374

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.