Converting filenames to Title Case in Linux

by @edent | # # | 9 comments | Read ~882 times.

Here's a simple bash one-liner to convert mixed-case filenames into Title Case: rename 's/(\S+)/\u\L$1/g' * This forces the file extension to lower-case as well. Use rename -n to test the command without changing anything on the filesystem. (Adapted from this PerlMonks FAQ.) Background I have a bunch of inconsistently named files like: HERE COMES THE… Continue reading →

Sort Folders Into Alphabetic Sub-Folders

by @edent | # # # # | 1 comment | Read ~625 times.

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)… Continue reading →

Add date metadata to MP4 videos

by @edent | # # # | 2 comments | Read ~866 times.

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… Continue reading →

Converting RAR to ZIP in Linux

by @edent | # # # # | 5 comments | Read ~3,693 times.

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… Continue reading →

Easy ways to add watermarks to images and videos in Linux

by @edent | # # # | 1 comment | Read ~4,154 times.

Mostly notes to myself 🙂 Here is a quick way to add watermarks to photos and videos. All Linux command line based - so perfect if you've got a lot of images you want to manipulate. Here is a delightful photo I've taken of a bee covered in pollen. I want to add a little… Continue reading →

Reducing the filesize of complex 3D .OBJ models

by @edent | # # # | Read ~5,697 times.

Loading large 3D Models in the browser is extremely resource intensive. 2D images are trivial to resize and resample with negligible loss of perceived quality. 3D resizing is complex. As part of my "Pirate Museum" I wanted to display 3D scans of statues using WebVR. The only problem is, these files are huge. Take The… Continue reading →

BMW *are* complying with the GPL

by @edent | # # # | Read ~32,926 times.

The good news follow-up rarely gets as much attention as the original bad-news story. Earlier this month I accidentally kicked off a minor kerfuffle over whether BMW was respecting the GPL. Their i3 car contains a huge amount of Open Source Software and there was some confusion as to BMW's compliance with the licence terms.… Continue reading →

Cheap BlueTooth Buttons and Linux

by @edent | # # # # # | 34 comments | Read ~34,037 times.

Selfie sticks - like most modern inventions - are utter tosh. But they've rapidly brought down the price of Bluetooth buttons. So who am I to complain? Let's take the venerable AB Shutter 3 - You can find it on Amazon for around £2 including postage - or around $2 on AliExpress. Frankly, that's stupidly… Continue reading →

Help! How do I extract 3D objects from PDFs?

by @edent | # # # # | 19 comments | Read ~7,789 times.

You know how the Democratic People's Republic of Korea is neither democratic, nor particularly for the people, nor a republic? Yeah, so it turns out the "Universal 3D" format is pretty far from Universal! A little backstory... The Europeana Carare Project has some gorgeous 3D scans of ancient monuments and heritage sites. The only problem… Continue reading →

How to type Emoji in Ubuntu

by @edent | # # # # # | 6 comments | Read ~4,223 times.

New tech site Gadgette has a great article on how to type Emoji on Mac and Windows - but they (understandably) didn't cover Ubuntu. So here I am to show you how. Get The Fonts If your computer doesn't have the requite font, install the latest version of Symbola. Simply open up the .zip file,… Continue reading →