gopass/docs/commands/link.md
Dominik Schulz ca0c452652
Add gopass ln (#1828)
This commit adds a new subcommand to support symlinks within the same
mount. The command is intentionally still hidden since the support
isn't fully fleshed out, yet. Neither audit nor list know of links
and cross mount symlinks aren't supported either (and maybe never will).

RELEASE_NOTES=[ENHANCEMENT] Add gopass ln

Fixes #1820

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-24 21:41:23 +01:00

29 lines
596 B
Markdown

# `link` command
The `link` (or `ln`) command is used to create a symlink from one secret in a
store to a target in the same store.
Note: Symlinks across different stores / mounts are currently not supported!
Note: `audit` and `list` do not recognize symlinks, yet. They will treat
symlinks as regular (different) entries.
## Synopsis
```
$ gopass ln foo/bar bar/baz
$ gopass show foo/bar
$ gopass show bar/baz
```
## Modes of operations
* Create a symlink from an existing secret to a new name, the target must not exist, yet
Note: Use `gopass rm` to remove a symlink.
## Flags
None.