tumblr-utils icon indicating copy to clipboard operation
tumblr-utils copied to clipboard

Downloading Likes overwrites Posts + Reblogs archive without warning?

Open ghost opened this issue 5 years ago • 5 comments

If so that's annoying, will have to archive the bulk of the blog again now. Could at least be a note in the readme, or better it could do as expected and archive Likes to <blog-name-here>_likes.

ghost avatar Dec 04 '18 14:12 ghost

or save them under a likes sub-directory

nightpool avatar Dec 05 '18 04:12 nightpool

I'm pretty sure that the script doesn't just delete or overwrite stuff. What was the sequence of commands you executed?

bbolli avatar Dec 05 '18 23:12 bbolli

There should be a way of marking the difference in the filesystem so that the program can detect an accidental overwrite. It would also be helpful for the index.html to tell you which type of archive/mirror it is, to avoid potential confusion.

cebtenzzre avatar Dec 06 '18 01:12 cebtenzzre

python tumblr_backup.py <blog-name>

..then I went into the directory <blog-name>/archive/ and opened some months to check that it had worked; everything seemed fine. Then

python tumblr_backup.py --likes <blog-name>

..and not seeing where the Likes were stored, opening the same months' listings files now showed the Likes instead of my original posts.

ETA: I'm on Mac OS if that helps, maybe on Windows (which the readme instructions were for) the script behaves differently to prevent index.html etc from being overwritten?

ghost avatar Dec 06 '18 03:12 ghost

Unless you're liking your own posts, it won't overwrite the posts, nor will it break any links to images or whatnot, however it will overwrite the index.html files - meaning your posts are still there, but you have to open each post manually. As others have said you should save likes and posts/reblogs in separate directories, or at least save one in a subdirectory of the other.

ann4belle avatar Dec 15 '18 20:12 ann4belle