GCTools update: remove tags

GCTools update: remove tags
Photo by Angèle Kamp / Unsplash

remove-tags is another new feature I added to GCTools. This one helps manage tags by allowing their removal from posts.

⁉️
GC what now? GCTools is a a collection of command line utilities for working on content in Ghost. It's particularly useful for folks who are migrating to Ghost or doing a major refactor of a Ghost site. It's essentially a Swiss Army knife for making bulk changes to posts and pages.

Ghost admin allows tags to be added, edited and deleted. If you change a tag name, all posts pick up the change. If you delete a tag, the posts still exist, but they no longer have that tag.

remove-tags gives some granular control to tag management—it allows you to remove the tag from some or all posts without deleting it altogether. I have used standard GCTools filtering for this, so it unlocks bulk changes like:

  • remove the tag vincent for all posts written by Marsellus Wallace
  • remove the tag jarjar for all posts published after 19 May 1999
  • remove the tag cystalskull for any posts tagged indiana and jones
  • remove the tag groucho for any posts with the visibility members

And so on!

You can install GCTools here