forked from cheat/cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cheat#25 from b3nj5m1n/pass
Add command pass
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Initalize password store using a gpg id: | ||
pass init <gpg-id> | ||
|
||
# Reencrypt data in subdirectory: | ||
pass init -p <path-to-directory> <gpg-id-1> <gpg-id-2> | ||
|
||
# Insert (Create or overwrite) data into a file: | ||
pass insert [-m|--multiline] <path-to-data> | ||
|
||
# Automatically generate a password of length n: | ||
pass generate <path-to-data> <n> | ||
|
||
# Show password store: | ||
pass | ||
|
||
# Edit an entry: | ||
pass edit <path-to-data> | ||
|
||
# Display content of an entry: | ||
pass <path-to-data> | ||
|
||
# Copy line n of entry to clipboard (Line 0 if none if specified): | ||
pass -c <n> <path-to-data> | ||
|
||
# Initalize a git repository (All changes made by pass will be committed automatically) | ||
pass git init |