是否可以从命令行将“偏执模式”传递给encfs?


0

我想通过 p 选项 encfs 从命令行设置“偏执模式”,并将命令别名为其他内容,以便用户可以在不知道细节的情况下使用它。

是否可以从命令行传递“偏执模式”?

Answers:


1
echo p | encfs ~/.encfs ~/encfs
encfs ~/.encfs ~/encfs <<< "p"

0

它足以打开一个文本文件并在其中键入“p”然后将stdin重定向到它:

encfs /.encfs / ecfs

就如此容易!

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.