From cf9ed4da17d1e4898f37272f4677c65058df384a Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 8 Mar 2020 22:19:10 +0530 Subject: fancier titles --- docs/posts/termux_tandem/index.html | 95 +++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 docs/posts/termux_tandem/index.html (limited to 'docs/posts/termux_tandem/index.html') diff --git a/docs/posts/termux_tandem/index.html b/docs/posts/termux_tandem/index.html new file mode 100644 index 0000000..def670f --- /dev/null +++ b/docs/posts/termux_tandem/index.html @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + Termux Tandem · peppe.rs + +
+
+ ⟵ Back + View Raw +
+
+ 08/03 — 2020 +
+ + 19.17 + + cm +   + + 1.6 + + min +
+
+ + Termux Tandem + +
+

I learnt about termux from a friend on IRC recently. +It looked super gimmicky to me at first, but it eventually +proved to be useful. Here's what I use it for:

+ +

rsync

+ +

Ever since I degoogled my android device, syncing files +between my phone and my PC has always been a pain. I’m +looking at you MTP. But, with termux and sshd all set up, +it's as simple as:

+ +
$ arp
+Address         HWtype  HWad ...
+192.168.43.187  ether   d0:0 ...
+
+$ rsync -avz 192.168.43.187:~/frogs ~/pics/frogs
+
+ +

ssh & tmux

+ +

My phone doubles as a secondary view into my main machine +with ssh and tmux. When I am away from my PC (read: +sitting across the room), I check build status and IRC +messages by sshing into a tmux session running the said +build or weechat.

+ +

file uploads

+ +

Not being able to access my (ssh-only) file host was +crippling. With a bash instance on my phone, I just copied +over my ssh keys, and popped in a file upload script (a +glorified scp). Now I just have to figure out a way to +clean up these file names …

+ +
~/storage/pictures/ $ ls
+02muf5g7b2i41.jpg  7alt3cwg77841.jpg  cl4bsrge7id11.png
+mtZabXG.jpg        p8d5c584f2841.jpg  vjUxGjq.jpg
+
+ +

cmus

+ +

Alright, I don't really listen to music via cmus, but I +did use it a couple times when my default music player was +acting up. cmus is a viable option:

+ +

cmus.png

+ +
+
+ ⟵ Back + View Raw +
+
+ + -- cgit v1.2.3