age
Verified for current stable LTS
Age Command: Decrypt File With Passphrase
An engineer would use the 'age --decrypt --output decrypted_file path/to/encrypted_file.age' command when they need to decrypt a sensitive file that has been encrypted with AGE and wants to save the output to a specified location. Exact CLI syntax to decrypt file with passphrase using Age.
When to use this: An engineer would use the 'age --decrypt --output decrypted_file path/to/encrypted_file.age' command when they need to decrypt a sensitive file that has been encrypted with AGE and wants to save the output to a specified location.
Command Syntax
age -d -o <path/to/decrypted_file> <path/to/encrypted_file.age> age -d -o <path/to/decrypted_file> <path/to/encrypted_file.age> Command Breakdown
-d- 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 decrypt file with passphrase 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
Age Command: Encrypt File With Public Keys Literals
age {-r|--recipient} public_key {-o|--output} path/to/encrypted_file.age path/to/unencrypted_file Age Command: Generate Encrypted File With Passphrase age -p -o <path/to/encrypted_file.age> <path/to/unencrypted_file> Age Command: Encrypt File With Recipients File age -R <path/to/recipients_file.txt> -o <path/to/encrypted_file.age> <path/to/unencrypted_file> Age Command: Decrypt File With Private Key age -d -i <path/to/private_key_file> -o <path/to/decrypted_file> <path/to/encrypted_file.age> Age Command: Encrypt File With Public Keys age -r <public_key> -o <path/to/encrypted_file.age> <path/to/unencrypted_file>