![与 tar --force-local, -M, --file 等效的 7za 命令](https://linux22.com/image/1552703/%E4%B8%8E%20tar%20--force-local%2C%20-M%2C%20--file%20%E7%AD%89%E6%95%88%E7%9A%84%207za%20%E5%91%BD%E4%BB%A4.png)
以下 cygwin 命令的正确替换是什么?
tar cvf FRT_RTAC_OtherLogs.tar --force-local FRT_*.log
我正在尝试用以下方法替换它:
7za a FRT_RTAC_OtherLogs.tar FRT_*.log
我正在尝试用 Windows 本机命令替换批处理文件中的 cygwin 命令。我对这些命令完全陌生,搜索了很多有关这些命令的信息,但找不到任何合适的替代命令。我也需要替换以下命令。
tar zcv --force-local --file=%DUMPFILE%.gz %CAPDIR%
tar cvf %DUMPFILE% --force-local -M %DUMPFILE%.gz *LogBook_* *RTAC_OtherLogs*
-M --file 命令的作用是什么以及它们等效的 7zip 命令是什么?``