mirror of
https://github.com/jarun/nnn.git
synced 2025-02-18 15:24:29 +00:00
Updated Advanced use cases (markdown)
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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue