age Verified for current stable LTS

Age Command: Encrypt File With Recipients File

An engineer would use this command when they need to securely encrypt a sensitive file for specific recipients listed in a recipients file, ensuring that only those authorized individuals can decrypt and access the contents. Exact CLI syntax to encrypt file with recipients file using Age.

When to use this: An engineer would use this command when they need to securely encrypt a sensitive file for specific recipients listed in a recipients file, ensuring that only those authorized individuals can decrypt and access the contents.

Command Syntax

age -R <path/to/recipients_file.txt> -o <path/to/encrypted_file.age> <path/to/unencrypted_file>

Command Breakdown

-R
Command Option
Tool-specific option used by this command invocation.
-o
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to encrypt file with recipients file using Age.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Age directory