mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(gopass): ln examples
This commit is contained in:
@@ -53,23 +53,23 @@ gopass create
|
|||||||
gopass new
|
gopass new
|
||||||
|
|
||||||
# Insert new entries.
|
# Insert new entries.
|
||||||
gopass insert 'path/to/secret'
|
gopass insert 'path/to/entry'
|
||||||
gopass insert -m …
|
gopass insert -m …
|
||||||
|
|
||||||
# Create new entries with generated passwords.
|
# Create new entries with generated passwords.
|
||||||
gopass generate 'path/to/secret'
|
gopass generate 'path/to/entry'
|
||||||
gopass generate -g 'xkcd' --lang 'en' 'path/to/secret'
|
gopass generate -g 'xkcd' --lang 'en' 'path/to/entry'
|
||||||
|
|
||||||
# Copy secrets' password to the clipboard.
|
# Copy secrets' password to the clipboard.
|
||||||
# Do *not* print secrets out.
|
# Do *not* print secrets out.
|
||||||
gopass show -c 'path/to/secret'
|
gopass show -c 'path/to/entry'
|
||||||
|
|
||||||
# Edit new or existing secrets.
|
# Edit new or existing secrets.
|
||||||
gopass edit 'path/to/secret'
|
gopass edit 'path/to/entry'
|
||||||
gopass set …
|
gopass set …
|
||||||
|
|
||||||
# Delete entries.
|
# Delete entries.
|
||||||
gopass delete 'path/to/secret'
|
gopass delete 'path/to/entry'
|
||||||
gopass remove -r …
|
gopass remove -r …
|
||||||
gopass rm …
|
gopass rm …
|
||||||
|
|
||||||
@@ -78,23 +78,23 @@ gopass copy 'from' 'to'
|
|||||||
gopass cp …
|
gopass cp …
|
||||||
|
|
||||||
# Move entries.
|
# Move entries.
|
||||||
gopass move 'from' 'to'
|
gopass move 'path/to/old/entry' 'path/to/new/entry'
|
||||||
gopass mv …
|
gopass mv …
|
||||||
|
|
||||||
# Link entries.
|
# Link entries.
|
||||||
gopass link 'from' 'to'
|
gopass link 'path/to/linked/entry' 'path/to/linking/entry'
|
||||||
gopass ln …
|
gopass ln 'stackexchange.com/me@example.org' 'stackoverflow.com/me@example.org'
|
||||||
|
|
||||||
# Copy files.
|
# Copy files.
|
||||||
gopass fscopy '/path/to.file' 'path/to/secret'
|
gopass fscopy '/path/to.file' 'path/to/entry'
|
||||||
gopass fscopy 'path/to/secret' '/path/to.file'
|
gopass fscopy 'path/to/entry' '/path/to.file'
|
||||||
|
|
||||||
# Copy files and remove the source.
|
# Copy files and remove the source.
|
||||||
gopass fsmove '/path/to.file' 'path/to/secret'
|
gopass fsmove '/path/to.file' 'path/to/entry'
|
||||||
gopass fsmove 'path/to/secret' '/path/to.file'
|
gopass fsmove 'path/to/entry' '/path/to.file'
|
||||||
|
|
||||||
# Get sha256sum of secrets.
|
# Get sha256sum of secrets.
|
||||||
gopass sum 'path/to/secret'
|
gopass sum 'path/to/entry'
|
||||||
gopass sha …
|
gopass sha …
|
||||||
gopass sha265 …
|
gopass sha265 …
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@ gopass templates create …
|
|||||||
gopass templates new …
|
gopass templates new …
|
||||||
|
|
||||||
# Use templates to create new secrets.
|
# Use templates to create new secrets.
|
||||||
gopass edit -c 'path/to/folder/with/template'/'secret'
|
gopass edit -c 'path/to/folder/with/template'/'entry'
|
||||||
|
|
||||||
# Move templates.
|
# Move templates.
|
||||||
mv 'path/to/gopass/repo/path/to/folder/with/template/.pass-template' 'path/to/gopass/repo/path/to/destination'
|
mv 'path/to/gopass/repo/path/to/folder/with/template/.pass-template' 'path/to/gopass/repo/path/to/destination'
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
# Link secrets
|
||||||
|
gopass ln 'stackexchange.com/me@example.org' 'stackoverflow.com/me@example.org'
|
||||||
|
|
||||||
# List templates
|
# List templates
|
||||||
gopass templates
|
gopass templates
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user