bash-tutorial/tutorial/croc.org

30 lines
682 B
Org Mode

#+options: toc:nil num:nil author:nil
* Send files to another machine with "croc"
Installing in Parabola-GNU/linux
#+begin_example bash
pacman -S croc
#+end_example
Let's say that you have a file called 'clown.txt' and you want to send to
another machine.
Run in the shell the following command:
#+begin_example bash
croc send clown.txt
#+end_example
This will give you a code
: > Code is 34-04-paprika-sugar-micro
: > On the other computer run
: > croc 34-04-paprika-sugar-micro
Then, just send the code to the user in the second machine. Including that code
should let the file be trasfered.
More info about croc in [[https://github.com/schollz/croc][Github repo]]