GCTools update: remove tags
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
vincentfor all posts written byMarsellus Wallace - remove the tag
jarjarfor all posts published after19 May 1999 - remove the tag
cystalskullfor any posts taggedindianaandjones - remove the tag
grouchofor any posts with the visibilitymembers
And so on!