this post was submitted on 14 Jul 2023
1 points (100.0% liked)

Reddit Migration

1 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 2 years ago
 

https://github.com/andrewbanchich/shreddit

I opened terminal with my comment.csv put in the desktop

  1. I did cargo install shreddit

  2. Then made the reddit app credentials

  3. Then did shreddit --username YouRedditUsername --password YourSuperSecretPassword123 --client-id clientidreplace --client-secret clientsecretreplace --gdpr-export-dir ~/Desktop/comments.csv

With the relevant information replaced with my own. But after I click enter nothing more happens like a message saying deleting or anything like that. Just cursor blinking. So do I just leave it alone or did something go wrong?

Update : Using the shreddit-linux file ended up working for me. On Linux to run it I had to right click it then go to properties and then allow executable. Then to run it in terminal I had to go to the directory shreddit-linux was in and type ./shreddit-linux.

Also, you have to make sure you extract all the GDPR files together. If it is missing one it needs you get an error, so after some error messages extracting everything fixed it for me and got it to start deleting.

top 6 comments
sorted by: hot top controversial new old
[–] e_t_@kbin.pithyphrase.net 0 points 2 years ago (1 children)

When I used shreddit, I pointed --gdpr-export-dir to the directory where I unpacked the archive from Reddit, not directly to comment.csv.

When the command is working, it's pretty verbose.

[–] ImaginaryFox@kbin.social 0 points 2 years ago (1 children)

Still not getting anything, so tried it with the --gdpr-export-dir part removed for just

shreddit --username YouRedditUsername --password YourSuperSecretPassword123 --client-id clientidreplace --client-secret clientsecretreplace

Same blinking cursor. When I do just put in the command like shreddit --version I do get back shreddit 0.9.1 so seems to be properly installed.

I guess I might try again later.

[–] e_t_@kbin.pithyphrase.net 0 points 2 years ago

You could run it under strace, e.g. strace -f -o shreddit.log shreddit...

That'll show you the system calls it's making. You might be able to tell if it's waiting on a network request or local I/O. You can find guides online how to read strace output.

[–] megane_kun@lemm.ee 0 points 2 years ago* (last edited 2 years ago) (1 children)

It might take a while before anything gets outputted. I think it might also be good if you try the --dry-run option first just so that you'd know what to expect.

Here's a sample output from one of my runs. It's already been scoured clean, so there's nothing to do.

sample shreddit output for an account with no posts and comments

I usually just run it through a bash script with the relevant line being:

./shreddit-linux -u ${uname} -p ${pword} $dryrun > "logs/${uname}_${tsstr}.log"

Where ${uname} and ${pword} are my username and password respectively, and $dryrun is either --dryrun or the empty string.

The output is then saved to a log file with the name pattern username_timestamp.

Also, I noticed that you're using the gpdr-export option. I think there's some wonkiness regarding that? I am not sure though. I still recommend using the --dryrun option first just to see what's up (without actually doing any changes to your account.


EDIT:

I forgot to clarify, shreddit-linux is what I named the executable file I got from the repository.

[–] ImaginaryFox@kbin.social 0 points 2 years ago (1 children)

I tried the dry run but didn't get anything back after running command. I must just have to go the tedious route of deleting comments manually over the year from time to time.

[–] megane_kun@lemm.ee 0 points 2 years ago

Before you give up on it, you might want to check on your shreddit.env file. The command line parameters override the stuff in there, but it might be a good idea to check anyways.

Best of luck!