Update docs

This commit is contained in:
Justin Hawkins 2022-01-25 22:54:11 +10:30
parent c471f9f4cc
commit 8f9eb05ddb

View File

@ -15,7 +15,7 @@ as part of a pipeline, obviating the need for dealing with temporary files.
host-B$ netgiv | psql restoredb host-B$ netgiv | psql restoredb
Note that since netgiv uses a persistent server, there is no need to setup both ends Note that since netgiv uses a persistent server, there is no need to setup both ends
of the pipeline in advance. of the pipeline in advance (compared to netcat or similar tools).
All data is encrypted in flight (though not in the temporary files on the server). Access to the server is granted by an authentication token (preshared key) of your All data is encrypted in flight (though not in the temporary files on the server). Access to the server is granted by an authentication token (preshared key) of your
choice. choice.
@ -76,6 +76,16 @@ To check the list of files on the server:
netgiv -l netgiv -l
If you would like to fetch (paste) a particular file:
netgiv -p 2 > file.png
Where '2' comes from the information provided in the `-l` output. It is the
second most recent file that was copied to the server.
Note that providing no `-p` option is the same as `-p 1` which means "the most
recent file".
### Alternative ways of providing the authtoken ### Alternative ways of providing the authtoken
It's possible that you do not trust the hosts you are running the `netgiv` client on, It's possible that you do not trust the hosts you are running the `netgiv` client on,