我想下载 Fuchsia 的源代码。
我输入了在fuchsia.dev-s "https://fuchsia.googlesource.com/fuchsia/+/HEAD/scripts/bootstrap?format=TEXT" | base64 --decode | bash上找到的curl 。
我有''base64'' is not recognized as an internal or external command, operable program or batch file.
我下载了base64工具但没有成功。
我应该怎么做才能使这个命令起作用?
这是我到目前为止所做的:
@ECHO OFF
cd /filePath
certutil -encode sample.pdf B64.txt
type B64.txt | find /V "-----BEGIN CERTIFICATE-----" | find /V "-----END CERTIFICATE-----" > B64.txt
Run Code Online (Sandbox Code Playgroud)
我的问题是:
使用命令find /V*如何定义新行字符并删除它们?
有没有更有效的方法来做到这一点?
这也可以在不将基数 64 分配为变量的情况下完成吗?事实证明,变量的限制只有大约 9000 个字符,而我转换的 base 64 通常有 70,000 个字符。