Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

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 */…

Add date metadata to MP4 videos

· 2 comments · 150 words · Viewed ~3,408 times


Linux bash terminal icon.

As ever, notes to myself. I hope you appreciate this future me! Photographs often contain EXIF metadata - really useful for finding out when a photo was taken. It turns out that you can add similar metadata to MP4 format videos. Here's how to do it with ffmpeg on Ubuntu Linux. The magic option is -metadata creation_time="2015-12-25T12:34:56" Stick that in when you're encoding your video and it …

Replacing IFTTT - Part 1: RSS & Tumblr

· 5 comments · 450 words · Viewed ~611 times


Screenshot from If This Then That.

I've grown to loath IFTTT. What started out as a cool way to plug internet things together has being an opaque an uncommunicative company with no real interest in customer service. That's not surprising, I suppose, its paying customers are the companies who can't be bothered to develop a proper API and so just shove some integrations up there. But it is annoying for those of us who want…

Some thoughts on Amazon's 2FA

· 2 comments · 550 words · Viewed ~745 times


Amazon now let you secure your account with Two-Factor-Authentication (2FA). This means you can log on with a one-time password which changes every minute. For some reason, Amazon call it Two-Step-Verification (2SV) - but it is exactly the same as all the other 2FA solutions. The Process There's no direct link to 2FA settings. So the process is slightly convoluted. Assuming you are signed in …

The Uncanny Valley of Consent - when advertising gets creepy

· 750 words · Viewed ~710 times


Music streaming service Spotify has launched a new range of adverts which have gathered mixed reactions. On the surface, they seem like the usual bland corporate attempts at chumming down - trying to cynically pass off advertising as friendship. It's kinda funny, right? Teresa López Ortega@TLopezOrtegaAt least a funny way to display the privacy we're allowing companies to violate: …

Building an Internet Connected Fridge

· 1 comment · 1,200 words · Viewed ~660 times


The Internet Fridge is a standing joke among technologists. I was writing about them in 2002, and they still haven't appeared! So I'm going to show you how I built one. Stop giggling at the back! All I want is for my fridge to notify me if the door has been left over for more than a minute. I'm building this with an Onion Omega2 - but you could just as easily use a Pi Zero or any other board. …

Review: Omega2 IoT Prototyping Board

· 600 words · Viewed ~1,758 times


I've been sent an Omega2 Plus from Onion.io - it is a $9 Linux computer with built in Wi-Fi, Made for IoT. The obvious comparison is with the Raspberry Pi - and the ultra-cheap Pi-Zero. The Omega2 has a few advantages. It has a (small) amount of built in memory - so even if you don't have an SD card to hand it is still usable. WiFi is also built in - only 2.4GHz, but good enough for most…

Review: Vegetarian Caviar Club

· 400 words · Viewed ~251 times


Has it really been 6 years since I last had vegetarian caviar? That's far too long! Sadly, the manufacturers of that particular brand have disappeared - so I was overjoyed when I discovered the UK-based Vegetarian Caviar Club. There are four flavours available, and jars cost between £6 and £7 plus postage. Let's get one thing out of the way first - I've never had real caviar. Not the h…

Virgin Wines Misleading Adverts

· 3 comments · 400 words


Welcome to another edition of "Middle Class Whinging!" The exciting blog where I chronicle disappointing experiences with admired brands. Virgin Wines loudly and repeatedly promise "next day delivery" on their wine cases. What they don't tell you is that this excludes orders made on Friday. And Saturday. And Sunday too. Basically, they only consider an order valid if it was placed on Monday -…

Converting RAR to ZIP in Linux

· 6 comments · 400 words · Viewed ~12,932 times


Linux bash terminal icon.

As ever, mostly notes to myself. RAR is a silly and proprietary format. I prefer free software and I find that ZIP files are smaller and decompress faster. Not everyone agrees, and that's fine. Assuming you've downloaded a RAR file and want to convert it to ZIP, what's the easiest way? Install P7Zip sudo apt-get install p7zip-full p7zip-rar Script This basic bash script will Extract a…

Would you fall for this phishing scam?

· 5 comments · 500 words · Viewed ~2,507 times


Gmail is usually pretty good at stopping spam from reaching my inbox. When it slips up, it reminds me of just how terrifying the modern internet is. Early one morning, I received this email from someone I know (details redacted by me). It came from his email, it has his signature at the bottom. This doesn't look like someone hijacking his email so far. I don't put much stock by "Protected…

Can you open someone else's mail?

· 350 words · Viewed ~2,152 times


A red UK post box.

This is mostly written so I can copy-and-paste it on to forums where people keep getting this basic information wrong. If you've ever moved house, you'll know how annoying it is to receive mail for the previous occupants. When those letters have a big red BAILIFFS ARE COMING warning on them - it is especially distressing. The relevant section of the law is: A person commits an offence if,…