Thread: Aura H2O Bulk editing Pocket articles
View Single Post
Old 02-08-2017, 02:11 AM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ceridwen View Post
Thanks!

Pocket on Kobo does have an option to delete all articles, and I thought about using that, but I expected then that I would have redownload by hand all the articles I've saved but haven't read yet. That list is shorter but still not short enough. Have you tried signing in and out before, and only articles that weren't archived were downloaded again?
I haven't explicitly signed in and out. But, I have several devices and I don't always have Pocket configured on them all. When I do, I usually copy the configuration from one of the other devices. Your question has reminded me that I don't always get the articles back, but I've also realised I've been making a mistake in copying the configuration.

The Pocket configuration is in the "Kobo Reader.conf" file and looks like:
Code:
[Pocket]
AccessToken=xxxxxxx-xxxx-xxxx-xxxx-xxxxxx
LastSync=1483795204
UnsyncedUrls=@Invalid()
Username=pocketusername
I have never seen the "UnsyncedUrls" with a real value. I assume it is supposed to be a list of URLs that Pocket understand and have not been updated. I suspect it is not actually used.

"LastSync" is the timestamp (a Unix epoch time) of when the last sync to Pocket was done. As I am copying the configuration from my Glo HD, the other devices are getting a recent timestamp and hence only downloading articles added since that timestamp. Which will frequently be none. I'm not sure of this, but it agrees with what I have seen. I'll do some experiments at home tonight.

If I am right, you could easily reduce the articles to those added since a particular date. Otherwise, I think you would need to archive them or mark them as read on the Pocket site to prevent them from downloading.
Quote:
And yeah, I'm definitely going to backup the whole partition, including the database, before I do anything. Is there a recommended way of doing this beyond just recursively copying all the files?
I just select all the files and directories in the root of the device and drag them to a folder on my PC. If you are using a Mac or Linux machine, you need to make sure you get the hidden directories. These have names starting with a dot. ".kobo" is the most important one.
davidfor is offline   Reply With Quote