-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete media from mentions #44
Comments
Not with the tool itself, unfortunately. |
I'd say such a feature would have to be added to the file |
Ok, so as well as #40 that's something I should try to add, I guess ? :) |
Maybe? 😄 Actually, if you're comfortable with the command line, you could get the URLs of the jq '.mentions[].media_attachments[]|.url,.preview_url' octodon.social.user.kensanata.json With a little jq '.mentions[].media_attachments[]|.url,.preview_url' octodon.social.user.kensanata.json \
| sed -n -e 's/[^\/]*\/\/[^\/]*\/\([^"]*\)"$/\1/p' So perhaps this is enough to wrap around a loop to rm $(jq '.mentions[].media_attachments[]|.url,.preview_url' octodon.social.user.kensanata.json \
| sed -n -e 's/[^\/]*\/\/[^\/]*\/\([^"]*\)"$/\1/p') |
Well, it's not that I don't want to do it, but I don't have the time right know but those media files takes some storage space 😅 So thanks a lot for your command, I'll investigate. (the best would be not to download them, with an option) |
Yeah, to be honest I never download media... |
I downloaded my archive with my toots + mentions.
Then I downloaded the media.
The issue is that the media archive contains the media from the mentions.
I would like to get rid of them.
Is it possible to add an option to download/remove the media from the mentions ?
The text was updated successfully, but these errors were encountered: