Properties

Last built 1 year ago using go version go1.5.1 linux/amd64 and 86 seconds of time

Downloads
Filename
File Size
 
tumblr_tool_master_darwin-386.zip
2.4MiB
tumblr_tool_master_darwin-amd64.zip
2.6MiB
tumblr_tool_master_linux-386.zip
2.4MiB
tumblr_tool_master_linux-amd64.zip
2.6MiB
tumblr_tool_master_linux-arm.zip
2.3MiB
tumblr_tool_master_windows-386.zip
2.4MiB
tumblr_tool_master_windows-amd64.zip
2.5MiB
Project-Readme for this version

luzifer / tumblr_tool

This tool is to find and delete duplicates in a Tumblr post queue and the archive.

Config

Place a file at ~/.config/tumblr-tool.yml containing these values (use your own tokens):

---
consumer-key: eF5AgVhZxyovrzqTobrmgqZm3mwRtmYsSKre1TDFuh9tnE2kQM
consumer-secret: eF5AgVhZxyovrzqTobrmgqZm3mwRtmYsSKre1TDFuh9tnE2kQM
access-token: eF5AgVhZxyovrzqTobrmgqZm3mwRtmYsSKre1TDFuh9tnE2kQM
access-secret: eF5AgVhZxyovrzqTobrmgqZm3mwRtmYsSKre1TDFuh9tnE2kQM
cachefile: /Users/luzifer/.config/tumblr-tool.cache
tumblr-url: luziferus.tumblr.com

Actions

Execute the tool with a set of actions you want to execute:

# tumblr_tool -a randomImage
https://41.media.tumblr.com/c11bf3c1980d7f3494369431097b23e9/tumblr_nrcy7tRjhg1qemdseo1_1280.jpg

# tumblr_tool -a printPublishedDuplicates -a printQueuedDuplicates
2015/09/09 00:13:30 Refreshing PostArchive...
2015/09/09 00:13:31 Checking queue for duplicates...
2015/09/09 00:13:31 Found 0 duplicates in archive...
2015/09/09 00:13:31 These are the duplicate posts:
2015/09/09 00:13:31 End duplicates.
2015/09/09 00:13:31 Reloading queue state...
2015/09/09 00:13:46 Checking queue for duplicates...
2015/09/09 00:13:46 Found 0 duplicates in queue...
2015/09/09 00:13:46 These are the duplicate posts:
2015/09/09 00:13:46 End duplicates.

Available actions (some of them are triggered internally):

# ./tumblr_tool -a listActions
Actions can get triggered using the -a flag:
# tumblr_tool -a <action>

<action> is one of these:
 - deletePublishedDuplicates
 - deleteQueuedDuplicates
 - listActions
 - loadArchive
 - loadQueue
 - printPublishedDuplicates
 - printQueuedDuplicates
 - randomImage