My Profile Photo

Personal Webpage of David Duggins


Well, I was born on a normal day in July, 1981 and have been creating chaos ever since. Born in North Carolina, but raised in the aftermath of the Soviet Union, Kazakhstan, I have been messing around with computers nearly my entire life. I wrote my first program in assembly when I was 11. In my early teens I ran a BBS connected to Fidonet and started building a website for my band. In 1999 I was introduced to Linux, and it was love at first compile. I started my career in IT in the early 2000's doing IT for a Car Dealership in Charlotte NC. I wrote my first major web app in Cold Fusion (an ecom app) at that time. In 2006 I left Charlotte and moved down to Columbia where starting working as a developer, freelancer and consultant. Currently I am working as a freelance developer and DevOps consultant!!


Exif Tool

So I still own and use a iPod. I use gtkpod to manage it. I ran into an issue though, that when I pull all my songs off the iPod with gtkpod, I get all the songs just dumped in my music folder with no organization at all. I like my songs in Album folders under Artist folders. There is a neat little trick that I thought I’d share on how to get it done.

I use the exif tool to extract the artist and album details from the songs and then loop through them to organize my tunes.

The first pass, I extract the artist and copy all the songs into folder based on the Artist tag.

exiftool -ext m4a '-Directory<$Directory/$Artist' -r .

Then I run the command again to pass over all the songs in each Artist folder and sort them into Albums

exiftool -ext m4a '-Directory<$Directory/$Album' -r .

This actually works as long as the files are properly tagged…and I have painstakingly tried to keep my library very well tagged!

© 2024 David Duggins. All rights reserved.
Open to Contracts