如何使用winrar cli来打包文件,而不包括整个文件夹结构

问题描述 投票:0回答:0

as_qwe___031425_Simon as_qwe___031425_Simon/VDB as_qwe___031425_Simon/VDB/embergen_fire_a_0

以及这些文件夹中的文件。

我得到的是:

我正在使用的命令是f'"{winrar_path}" a -r -v10m "{dest_file}" @"{files_to_export_path}"'the structure I get(来自Python) 我尝试使用

ep1

ep
,这不包括任何文件夹,因此结果是带有所有文件的.rar,没有文件夹。

我用来定义要包装文件的文本文件包含这些文件的绝对路径:

C:\Users\Simon\Desktop\vdb\as_qwe___031425_Simon\vdb.blend
C:\Users\Simon\Desktop\vdb\as_qwe___031425_Simon\VDB\embergen_fire_a_0\embergen_fire_a_93.vdb
thanks.
    

Make`C:\ users \ simon \ desktop db \`您的当前目录,从您的文件中删除该字符串,并使用绝对路径从文件中删除该字符串,以使其相对于您当前目录。然后再试一次


zip command-line-interface rar winrar
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.