Дима Рубинштейн (dimrub) wrote in lj_nifty,
Дима Рубинштейн
dimrub
lj_nifty

mass merge tags

Recently a limitation of 1000 tags was put in place. Some of you may find it hard to believe, but there are communities, that've hit this ceiling long ago (one community I'm moderating had over 6000 tags when this limitation was announced). I've written a small script that helps solve the problem. You give it a list of (probably erroneous) tags to merge, and a tag to merge to, and it replaces all the erroneous tags with the correct one. Here it is:

http://blog-tools.googlecode.com/files/merge_tags.py

(need python to run it)

You will have to create a file with the lists of tags to process. Each line (consisting of coma separated tags) in that file corresponds to a group of tags to merge (with the first one being the one to merge into). For example, if you want to merge all the foo into bar, the file will look like this:

bar,foo

To get the list of options, run the script with -h.

HTH
Subscribe

  • friends history

    many years ago, we had the marnanel joule that kept track of our friends history. but it went away around 2011. in fact a lot of livejournal has…

  • ArtLJ

    I was screwing around with custom styles earlier when I stumbled across artlj ( Translations available at Google and Microsoft). It…

  • No more grey comment button!

    Last night I hacked together a Greasemonkey script so that anyone affected by the grey comment button problem can post a comment. Any comments or…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 51 comments

  • friends history

    many years ago, we had the marnanel joule that kept track of our friends history. but it went away around 2011. in fact a lot of livejournal has…

  • ArtLJ

    I was screwing around with custom styles earlier when I stumbled across artlj ( Translations available at Google and Microsoft). It…

  • No more grey comment button!

    Last night I hacked together a Greasemonkey script so that anyone affected by the grey comment button problem can post a comment. Any comments or…