https://github.com/andrewbanchich/shreddit
I opened terminal with my comment.csv put in the desktop
-
I did cargo install shreddit
-
Then made the reddit app credentials
-
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.
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.
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.
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.
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.
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.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.
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!