我正在使用 7z 命令行可执行到 zip 文件, 但我看到, 在添加归档的同时, 文件路径会被保存在归档中 。
所以,如果我这样做
7z a -tzip myzip.zip dir1dir2*
the archive myzip.zip will contain the path dir1dir2. I do not want this, rather I want only the files to be added to the zip file without the paths being preserved. I searched quite a bit but do not seem to find any way of doing this, maybe I am missing something obvious?
谢谢 谢谢