Anatomy of my perfect ls command

by @edent | # # # | 3 comments | Read ~153 times.
Unix is user-friendly — it's just choosy about who its friends are.

Mostly notes to myself. Nestled away in my Linux Bash profile, I have this one-liner alias lh=’ls -trhgGN –color=always | cut -d” ” -f4-‘ When I run lh it outputs a list of files in the directory, showing their size, with the newest files on the bottom. I use this regularly to see what I’ve…

Continue reading →

Screenscraping Album Artwork From The Linux Command Line

by @edent | # # # # # # # | 9 comments | Read ~4,537 times.

Like many people, I’ve collected a fair number of CDs over the years. As hard-drives and MicroSD cards have got larger and cheaper, I’ve gradually been ripping them to FLAC. Most CD rippers automatically tag the music files with the correct metadata and, nowadays, they will also download and embed album artwork as well. (As…

Continue reading →