HACKER Q&A
📣 rendaw

What have you made that you use daily?


Daily isn't to be taken too literally, but things that you find yourself reaching for or otherwise have become part of your lifestyle.


  👤 a3n Accepted Answer ✓
A collection of bash/linux scripts that use sshd on termux on my Android phone to wirelessly copy photos to ~/Pictures on my laptop, automatically make small versions of the photos for emailing etc and placing those in their own directory.

At the end, it pulls its own plug. After unmounting the phone, it sends "pkill sshd" over ssh, to terminate the phone's sshd server.

I use sshfs so that copying from phone to laptop is from mounted directory to local directory. Connection is like so:

  # Mount the phone's DCIM ancestor directory locally over ssh.  
  # mg4: is an ssh host in ~/.ssh/config                     
  sshfs mg4:/storage/emulated/0/ ~/mnt/mg4