Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Reboot and launch an Android app via ADB

· 200 words · Viewed ~367 times


Android logo.

I'm using an old Android phone as a webcam. The camera lens is great, the DroidCam software is nifty, but the Android OS behind it is old and dying. My phone often needs rebooting. Which means that the app also needs restarting. The phone's screen faces away from me, so I can't interact with it. This is a quick guide (mostly notes to myself) about rebooting and starting an app from the command…

Convert Surround Sound WAV albums to individual opus files

· 200 words


Screenshot of a multitrack audio export.

As ever, notes to myself. This is a method to take a .wav and .cue and transform it into individual files. In this case, .opus. Transform to .flac FLAC is a good intermediary file format, especially for surround sound files. avconv -i file.wav out.flac Transform to .opus An optional step if you want smaller files. Maximum quality for 6 channel audio. opusenc --bitrate 4096 out.flac…

Sort Folders Into Alphabetic Sub-Folders

· 1 comment · 300 words · Viewed ~1,046 times


Linux bash terminal icon.

Scratching my own itch. I have a bunch of directories which I want moved into alphabetic sub-directories. This is handy is you have a bunch of MP3s, books, or other catalogued files. This bash script moves a top level directory (and all the files and subdirectories under it), to a folder based on the (upper-case) version of the first character of the directory name. #!/bin/bash for dir in */…