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.
设置宏无法处理 .gz 文件。我想我应该提取源.gz文件而不删除它(用gzip解压正常删除文件),然后手动cd进入未压缩的目录。
我想知道这是否是一个好的解决方案。
您不能仅从 .gz 文件中提取目录。那将是一个 .tar.gz 文件。.tar.gz 文件的提取通常不会删除 .tar.gz 文件。