Created
November 30, 2012 21:51
-
-
Save ChewingPencils/4178945 to your computer and use it in GitHub Desktop.
Rename Pinboard Tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# A quick and dirty script to rename a pinboard.in tag. | |
# I'll probably update this become a proper command line app one day | |
import urllib2 | |
import pinboard | |
pinuser = "" | |
pinpasswd = "" | |
p = pinboard.open(pinuser, pinpasswd) | |
# Enter in the tag information below | |
p.rename_tag(old="old-tag", new="new_tag") | |
print "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment