Commands Reference¶
Complete reference for all Vaultix commands.
Command Overview¶
| Command | Description | Destructive |
|---|---|---|
init | Initialize vault and encrypt files | ✓ |
add | Add file to vault | ✓ |
list | List encrypted files | ✗ |
extract | Extract file(s), keeps in vault | ✗ |
drop | Extract and remove from vault | ✓ |
remove | Remove file without extracting | ✓ |
clear | Remove all files without extracting | ✓ |
init¶
Initialize a new vault and automatically encrypt all files in the directory.
Syntax¶
Parameters¶
path(optional): Directory path. Defaults to current directory (.)
Behavior¶
- Scans directory for regular files (excludes hidden files and directories)
- Creates
.vaultix/structure - Encrypts all discovered files
- Securely deletes original plaintext files
- Reports success
Examples¶
# Initialize in current directory
vaultix init
# Initialize specific path
vaultix init ~/secrets
# Initialize and encrypt all files
cd ~/Documents/sensitive
vaultix init
Destructive Operation
Original files are permanently deleted after encryption. Make sure you have backups!
add¶
Add a file to an existing vault.
Syntax¶
Parameters¶
file(required): Path to file to addvault-path(optional): Vault directory. Defaults to current directory (.)
Behavior¶
- Reads the specified file
- Encrypts the file
- Adds to vault metadata
- Securely deletes the original file
Examples¶
# Add file to current vault
vaultix add secret.txt
# Add file to specific vault
vaultix add document.pdf ~/my_vault
# Add file from another directory
vaultix add /tmp/keys.pem
list¶
List all encrypted files in the vault.
Syntax¶
Parameters¶
vault-path(optional): Vault directory. Defaults to current directory (.)
Output¶
Shows:
- Filename
- Size in bytes
- Modification timestamp
Examples¶
# List files in current vault
vaultix list
# List files in specific vault
vaultix list ~/other_vault
Files in vault (3):
passwords.txt (1024 bytes, modified: 2026-01-07 15:30:00)
api_keys.json (512 bytes, modified: 2026-01-07 14:20:00)
notes.md (2048 bytes, modified: 2026-01-07 16:00:00)
extract¶
Decrypt and extract file(s) from the vault. Files remain in the vault after extraction.
Syntax¶
Parameters¶
file(optional): Filename or partial match. Omit to extract all filesvault-path(optional): Vault directory. Defaults to current directory (.)
Fuzzy Matching¶
Supports intelligent file matching:
- Exact match:
passwords.txt - Case-insensitive:
PASSWORDS.txt - Partial match:
passmatchespasswords.txt
Examples¶
# Extract all files
vaultix extract
# Extract specific file (exact match)
vaultix extract passwords.txt
# Extract with fuzzy matching
vaultix extract pass # Matches "passwords.txt"
vaultix extract API # Matches "api_keys.json"
# Extract to specific directory
vaultix extract . /tmp/output
# Extract from specific vault
vaultix extract secret ~/vault
drop¶
Extract file(s) and remove them from the vault. This is a destructive operation.
Syntax¶
Parameters¶
file(optional): Filename or partial match. Omit to drop all filesvault-path(optional): Vault directory. Defaults to current directory (.)
Behavior¶
- Extracts the file(s)
- Removes from vault
- Deletes encrypted objects
Examples¶
# Drop one file (extract and remove)
vaultix drop old_password.txt
# Drop with fuzzy matching
vaultix drop secret
# Drop all files (extracts everything and clears vault)
vaultix drop
Destructive
Files are removed from the vault after extraction. Make sure you have the decrypted files before closing your terminal!
remove¶
Remove a file from the vault without extracting it. Permanently deletes the encrypted data.
Syntax¶
Parameters¶
file(required): Filename or partial matchvault-path(optional): Vault directory. Defaults to current directory (.)
Examples¶
# Remove file from current vault
vaultix remove old_file.txt
# Remove with fuzzy matching
vaultix remove OLD
# Remove from specific vault
vaultix remove file.txt ~/vault
No Extraction
File is deleted without extracting. Use drop if you want to extract first.
clear¶
Remove all files from the vault without extracting them. Requires confirmation.
Syntax¶
Parameters¶
vault-path(optional): Vault directory. Defaults to current directory (.)
Behavior¶
- Prompts for password
- Asks for confirmation (
yesto proceed) - Deletes all encrypted objects
- Clears metadata
Examples¶
# Clear current vault
vaultix clear
# ⚠️ This will DELETE all files from the vault WITHOUT extracting them. Continue? (yes/no): yes
# ✓ Vault cleared (all files removed)
# Clear specific vault
vaultix clear ~/vault
Extremely Destructive
All encrypted data is permanently deleted. Cannot be undone!
Common Patterns¶
Secure a Directory¶
Daily Workflow¶
# See what's in the vault
vaultix list
# Extract what you need
vaultix extract passwords
# Add new files
vaultix add newsecret.txt
# Clean up old files
vaultix remove old.txt
Move Files Out¶
Or use drop:
Fuzzy Extraction¶
# Instead of typing "super_secret_passwords_2024.txt"
vaultix extract 2024
# or
vaultix extract PASSWORD
# or
vaultix extract super
Password Security¶
All commands that access the vault require password entry. Passwords are:
- ✓ Never stored on disk
- ✓ Never logged
- ✓ Only exist in memory during operation
- ✓ Hidden during input (not echoed to terminal)
Password Management
Consider using a password manager to generate and store your vault password.