我们可以将文件添加到具有修改文件名的 zip 存档吗

Can we add files to a zip archive with modified file names

我想为文件夹层次结构中的某些文件创建 zip 存档。
例如:
abc.php_0973_890
newone.text_2344_870

我想要:
abc.php
newone.txt
在我的 zip 存档中。有什么办法吗?

我们不能那样做,因为 zip 不支持类似的东西,我们可以使用 tar 作为选项,例如: --transform 可用于转换输出文件名