Linux command
encfs 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create/mount encrypted directory
encfs [~/.encrypted] [~/private]
Create with standard mode
encfs -s [~/.encrypted] [~/private]
Unmount encrypted directory
fusermount -u [~/private]
Change password
encfsctl passwd [~/.encrypted]
Show volume info
encfsctl info [~/.encrypted]
Idle timeout
encfs -i [10] [~/.encrypted] [~/private]
说明
encfs provides encrypted filesystem in user-space using FUSE. It encrypts files individually, storing them in a directory with encrypted names and contents. The tool is useful for encrypting cloud-synced folders or sensitive directories. Each file is encrypted separately, allowing efficient sync of changed files.
参数
- -s
- Single-threaded mode.
- -f
- Run in foreground.
- -v
- Verbose mode.
- -i _minutes_
- Idle timeout before unmount.
- -o _options_
- FUSE mount options.
- --standard
- Use standard (safer) settings.
- --paranoid
- Use paranoid settings.
- --reverse
- Reverse mode for backups.
- --extpass _cmd_
- External password program.
FAQ
What is the encfs command used for?
encfs provides encrypted filesystem in user-space using FUSE. It encrypts files individually, storing them in a directory with encrypted names and contents. The tool is useful for encrypting cloud-synced folders or sensitive directories. Each file is encrypted separately, allowing efficient sync of changed files.
How do I run a basic encfs example?
Run `encfs [~/.encrypted] [~/private]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s do in encfs?
Single-threaded mode.