kcrawford/dockutil — pull request #1 by nmcspadden (2011-11-17 21:05:51+00:00)
Title: Adding a "remove all" option

Greetings,

I love your script for using with instaDMG. However, I find it far easier to simply use a blank slate and add the programs you want than to try and modify the standard user template Dock. So I added an option in the "removeItem" function where you can specify --remove all, and it will iterate through and delete every entry in the Dock.

It may not be too useful for everyone, but I thought it could potentially be helpful.