explodingkitchen

joined 1 year ago
[–] explodingkitchen@kbin.social 21 points 1 year ago (4 children)

IMO, if they're going to make a push for it to be an annual thing, it would be a good idea if the shot were available before school starts in the fall.

Good luck. If that doesn't do it, the suggestion another commenter made to try strace sounds worthwhile.

[–] explodingkitchen@kbin.social 2 points 1 year ago (2 children)

You don't have to specify any arguments you've put in the shreddit.env file. Or anything with defaults you're okay with. So you can just type "shreddit" and hit enter. Anything you put on the command line will probably override what's in the shreddit.env file.

[–] explodingkitchen@kbin.social 2 points 1 year ago (4 children)

You don't run it. When shreddit executes, it will check the current directory for a shreddit.env file.

[–] explodingkitchen@kbin.social 2 points 1 year ago* (last edited 1 year ago) (6 children)

Okay, so it sounds like you've created the Reddit credentials. You also have shreddit installed and your $PATH variable changed, since 'shreddit --version' is giving you 0.9.1 instead of an error message.

TBH, I don't think installing shreddit via cargo creates a shreddit.env file. I just opened a new file in a text editor (I use Pluma), did a copy/paste of the body of the shreddit.env.example file, and then changed the fields to match my account info, client ID, etc.
Then I created a new directory called cargo_shreddit to keep all the mess in one place. I extracted my GDPR files into cargo_shreddit, put my shreddit.env file in there too, changed to that directory, and used the command "shreddit".

My ISP connection can be flaky, so occasionally it would crap out on me with a panic error--sometimes after deleting 50 entries, sometimes after doing thousands. To deal with that, I made a backup copy of my original comments.csv file, then simply edited my comments.csv file as I went along, keeping the first line of the file (the one that says 'id,permalink,date,ip,subreddit,gildings,link,parent,body,media') but deleting the entries for any comments I'd already successfully done. It took several hours to do it all, but you should see a steady stream of messages while it's happening to let you know which comments it's working on.

ETA: This is what my shreddit.env file looks like, with all the passwords, etc., changed to random values.

SHREDDIT_USERNAME='explodingkitchen'
SHREDDIT_PASSWORD='!hKL1ltVc7FbpOa4'
SHREDDIT_CLIENT_ID='uj$6LWzilcGPD*3&'
SHREDDIT_CLIENT_SECRET='z5&L%cC1Wj#Gid^3QUYMuqv2d#EH#'
SHREDDIT_DRY_RUN=false
SHREDDIT_USER_AGENT='ShredditRustClient'
SHREDDIT_EDIT_ONLY=false
SHREDDIT_GDPR_EXPORT_DIR='/home/explodingkitchen/cargo_shreddit'

second ETA: And in case you're wondering whether the problem is with your Reddit credentials, I very much doubt it. I just tried screwing up mine and it gives a distinct error message instead of the blinking cursor of WTF. When I restored them, shreddit worked again, so it's also not that Reddit's shut something down.

[–] explodingkitchen@kbin.social 5 points 1 year ago (1 children)

The irony is that the comments that got me the most karma weren't the ones I considered of highest value. A detailed, genuinely helpful response in a small subreddit might only garner a half-dozen upvotes while a snarky one-liner in a big sub can boost karma by thousands.

[–] explodingkitchen@kbin.social 1 points 1 year ago (8 children)

Works for me on Ubuntu. Instead of using command-line arguments, I put a shreddit.env file in the same directory where my GDPR files were extracted, then did a cd to that directory before running shreddit. I've got single quotes around the passwords, etc. in the shreddit.env file.

Not sure what "won't run" means, but the first thing I'd double-check is your shreddit.env file. You might need to put single quotes around your password, etc., and I'd also look at the pathname of the directory where your GDPR files are to be sure that's correct.

[–] explodingkitchen@kbin.social 1 points 1 year ago* (last edited 1 year ago) (1 children)

This is a known problem: https://kbin.social/m/RedditMigration/t/47320/PSA-If-you-have-more-than-1000-posts-more-than

Also, you won't be able to delete anything in private subreddits.

Ask Reddit for your data. Until then, this might still work: https://kbin.social/m/RedditMigration/t/59451/Finally-Managed-to-erase-all-1477-of-my-comments#comments

and after you get your GDPR files from Reddit, you can do this: https://kbin.social/m/RedditMigration/t/164034/Automated-ways-of-removing-reddit-content

TL;DR: you'll need the permalinks for older comments if you want to delete them using a script. Otherwise, you'll have to google them and manually delete everything.

Also, if anyone's wondering, the format for an extracted comments.csv from the GDPR files you'll get from reddit is just a flat text file. The first line is (explicitly)

id,permalink,date,ip,subreddit,gildings,link,parent,body,media

and every entry that follows is the id, permalink, etc. so it might be possible to dummy up a comments.csv file by extracting stuff from an archive (as described in the second link above) and use the shreddit program from the third link if you wanted to delete things while waiting for Reddit to fulfill your data request.

view more: ‹ prev next ›