使用openssl加密文件
How to encrypt a file using openssl on Linux non-interactively? The passphrase shall be provied to openssl in a programmatic way instead of requesting the user to input it, so that the command may work in a regular cron job or some batch jobs.
如何在Linux上使用openssl非交互地加密文件? 密码应以编程方式提供给openssl,而不是要求用户输入密码,以便该命令可以在常规cron作业或某些批处理作业中使用。