Sync Photos to Desktop Using Termux

I have a problem with getting pictures and videos off of my phone. I briefly described that scenario elsewhere, but I want to show you how I am able to do that more efficiently than plugging my phone into my desktop and transferring them via the USB cable. This example will show how to do this from an Android phone to a Linux computer.

Nothing quite like a terminal on your phone (source: