this post was submitted on 09 Jul 2023
2 points (100.0% liked)

Reddit Migration

37 readers
2 users here now

### About Community Tracking and helping #redditmigration to Kbin and the Fediverse. Say hello to the decentralized and open future. To see latest reeddit blackout info, see here: https://reddark.untone.uk/

founded 1 year ago
 

Is there some script, addon or something that will take data from GDPR request and delete content, especially comments, one by one? redact had this capability, but it's not working now

top 6 comments
sorted by: hot top controversial new old
[–] SpaceCadet2000@kbin.social 4 points 1 year ago (1 children)

It can be done with shreddit: https://github.com/andrewbanchich/shreddit

It has a built-in option to point it to your extracted GDPR data, and will edit and/or delete all the comments that are listed in there.

Just configure it according to the instructions, and then let it run unattended for a while. It took about 15 hours to delete the 13000 comments on my 12 year old account.

[–] Hogger85b@kbin.social 1 points 1 year ago

Just to add a couple of bits for windows users that the readme there doesn't cover

If you have the exe

Have you gone into Reddit and setup the "script client" and got the client Id and the secret (if not I will have to create some screenshots next time I am on desktop)

In windows start bar type CMD to get a console window

Then set some environment variables (they will only last this session) use the example in the git repo or here (the first four you will need to edit for you details from.reddit as per above) and the gdpr directory (if you put these in a file and save it as .bat you can run it or just type one line at a time into the CMD window

Set SHREDDIT_USERNAME=your_username
Set SHREDDIT_PASSWORD=SuperSecretPassword123
Set SHREDDIT_CLIENT_ID=lk4j56lkj3lk4j5656
Set SHREDDIT_CLIENT_SECRET=kl2kj3KJ345lkhRAWE
Set SHREDDIT_DRY_RUN=false
Set SHREDDIT_THING_TYPES=posts,comments
Set SHREDDIT_BEFORE=2023-07-07T00:00:00Z
Set SHREDDIT_EDIT_ONLY=false
Set SHREDDIT_GDPR_EXPORT_DIR=c:\users[name]\Downloads\gdprunpack

Then In the same window drag the exe in so the command line will say "c:.....shreddit.exe" and press enter it will then run for 4s per comment so it will.take hours

[–] DerEineDa@feddit.de 1 points 1 year ago (1 children)
[–] abff08f4813c@kbin.social 1 points 1 year ago

I am pretty sure PDS does not currently support using the GDPR archive, and thus can miss things.

[–] Fudgeknuckles98@lemmy.world 0 points 1 year ago (1 children)

As far as I’m aware this was possible before the api changes. I’m not sure it’s possible anymore

[–] explodingkitchen@kbin.social 1 points 1 year ago

I finished using Andrew Banchich's shreddit (install via cargo, it's mentioned above) only yesterday.