Skip to content

Commit 81fc90c

Browse files
authored
Update README.md
1 parent 2b8d124 commit 81fc90c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# pass file
2-
`pass file` is a extension for adding arbitary files to the [pass](https://www.passwordstore.org/) password store. Files will be encoded using `base64` before encryption.
2+
`pass file` is a extension for adding arbitary files to the [pass](https://www.passwordstore.org/) password store. Files will be encoded using `base64` before encryption. This extension is inspired by [gopass](https://github.com/justwatchcom/gopass)' `binary` function to which it is also compatible. Files stored with `gopass binary` can be retrieved with `pass file` and vice versa.
33

44
## Usage
55
```
6-
Usage: pass file attach|retrieve pass-name [path]
7-
attach|add: add new file to password store
6+
Usage: pass file action pass-name [path]
7+
Actions:
8+
store|add|attach: add new file to password store
89
retrieve|show|cat: retrieve file from password store and print it to stdout
910
```
1011

1112
## Examples
1213
Storing a PNG picture and retrieving it.
1314
```
14-
pass file attach pics/secretpic mypicture.png
15+
pass file store pics/secretpic mypicture.png
1516
pass file retrieve pics/secretpic > retrieved-picture.png
1617
```
1718
Alternativley you can also use shortcuts for `attach` and `retrieve`:

0 commit comments

Comments
 (0)