Mass Converting .svg to .png on macOS

When playing around with Royal TSX I needed to mass convert the VMware Clarity .svg files to .png files that I could use as icons in Royal TSX.

After trying a series of different approaches, I ended up with using rsvg-convert from libRSVG. In order to get rsvg-convert installed on my MacBook, I turned to HomeBrew.

HomeBrew, which calls itself The missing package manager for macOS is in my opinion essential for any macOS user. If you are missing a command or utility, chances are that HomeBrew has you covered.

Mass Converting:

Once you have HomeBrew installed, you’re pretty much ready to go by running the following command in Terminal:

brew install librsvg

This installs the libRSVG formulae, and all it’s dependencies, and makes rsvg-convert available.

Once libRSVG installed locally, you can mass-convert .svg files by running the following command in your terminal of choice.

for i in *; do rsvg-convert $i -o `echo $i | sed -e 's/svg$/png/'`; done

This loops through every .svg file in the current directory, and creates .png versions of them, for usage elsewhere.

Integrating Pocket with Todoist via IFTTT

Myles Gray asked me how I integrate Pocket with Todoist, after my How I use Todoist post, and the answer is very simple: IFTTT. If-This-Then-That lets you connect services, and create rules (or applets) that trigger based on events in those services, luckily both Todoist and Pocket are supported.

Now, there is a bit of overlap between how I use Pocket and Todoist, but I mainly use Pocket to keep track of links I want to either read later, or use as basis for blog posts.

Photo by Kari Shea on Unsplash

I have two main IFTTT recipes that takes care of my integration between the two. Both of these use Pocket as the source, and Todoist as the target, I do not transfer anything from Todoist to Pocket.

IFFT Applets:

“If new item tagged read, then create a task in To Read”

Simply put, if I tag something with the tag read in Pocket, it gets added to my “To Read” sub-project in Todoist. This allows me to quickly move a Pocket item into Todoist as an action item, with the complete URL. It does not assign a label, nor does it set a priority—but it allows me to have a nice link list in Todoist with items I want read later. Of course, the Todoist Chrome extension allows me to do similar things, but only from the browser. Since I use IFTTT to add my Twitter likes to Pocket etc, it makes sense to have most of that collected in one place for further investigation.

“If new item tagged todo, then create a task in Inbox”

Similar to the one above, just with the todo tag instead. Naturally those links get placed in my “To Do” project instead. The difference here is that those that go into my To Do project, are things that I want to actively do something with (besides reading). That might be create a blog post based on something, send it to a client or coworker, or similar tasks.


For me, Pocket works as a first repository of content I want to check out, and the content I want to do something further with, they live in Todoist. Once they are in Tooist, it’s trival to move them over to the correct projects and/or labels for organizing.

I have also set up a recurring task, with mobile alerts, to make sure I check my Pocket-lint at least once a week.

I’m sure there are other, and more fancy ways of doing this, or even improve on them. Please leave a comment if you do something similar, or something that I haven’t even thought of at all.