1
1
mirror of https://github.com/jarun/nnn.git synced 2024-10-26 14:28:31 +03:00

Updated Advanced use cases (markdown)

Mischievous Meerkat 2020-05-02 04:46:00 +05:30
parent 06d126d2b9
commit 32b274f075

@ -215,7 +215,7 @@ In the future that `lesspipe.sh` link might change to using `atool` rather than
Broadly speaking, any terminal utility can be integrated with `nnn` easily. For remote file transfers, `lftp` is the preferred tool. Let's discuss how the workflow can be simplified with `nnn`'s capabilities and `lftp` combined together.
#### automation using an lftp script
#### Automation using an lftp script
Use the `open with` key and type `lftp -f` to connect and transfer files to/from a remote system using a lftp script file. Note that you need to press <kbd>c</kbd> at the `press 'c' for cli mode` prompt.
@ -241,7 +241,7 @@ put -O uploads file1 file2
pget -O downloads file3 file4
```
#### connect to server and and copy selection manually
#### Connect to server and and copy selection manually
We will use a generic lftp setup example using lftp aliases which you can follow to connect to a SSH server and transfer your `nnn` selection to it.
@ -266,7 +266,7 @@ We will use a generic lftp setup example using lftp aliases which you can follow
lftp :~> mv
lftp :~> bye
#### more help at lftp prompt
#### More help at lftp prompt
list of supported commands: