Finding my draft posts with ripgrep Light _ □ ✕
  • Posts
  • About
  • Debug
Post

Finding my draft posts with ripgrep

Published
2026-08-05 23:37 UTC (precision: second)
Author
Sal
Source feed
Sal's Blog [exclude this blog]
Link
https://sals.place/blog/find-your-drafts-with-ripgrep/
Canonical
https://sals.place/blog/find-your-drafts-with-ripgrep
Length
1693 runes
Extracted text
Finding my draft posts with ripgrep Wednesday, August 5, 2026 You know those moments where you think, dang, computers are so insanely fast now … so why in the world does software still feel slow?? Well ripgrep is the antidote to that feeling. It’s just mind-bogglingly fast. I flippin’ love ripgrep. I use it for so much stuff. Anyway, today I found a nice snippet that lists all my blog posts that are still in draft status: rg '^draft( = |: )true' --glob "*.md" --files-with-matches content The handy bit there is '^draft( = |: )true', which will find both draft = true (TOML syntax) and draft: true (YAML syntax). Since moving to Hugo, my new posts generated with the hugo new content command have TOML frontmatter, but my old stuff has YAML. (I could easily change the default to use YAML instead, but TOML feels fun and whimsical at the moment.) Other bits: --glob "*.md" filters to markdown files. --files-with-matches tells ripgrep to print only the filenames (normally it will also print the file’s contents around the match). content is the path to search (my content/ subdirectory). I stuck it in a shell script in scripts/drafts. Here’s the output at this moment: > ./scripts/drafts content/notes/remote-dev-ssh-config.md content/blog/adding-backlinks.md content/blog/personal-reference-system.md content/blog/find-your-drafts-with-ripgrep.md content/blog/stupid-pizza-humor.md content/blog/blog-post-resiliency.md content/blog/supernote-manta-thoughts.md content/blog/success-at-blogging.md Don’t judge me. They’re still drafts for a reason. 😉 Backlinks I published my drafts: lessons learned and steps taken Escaping my published-drafts fire drill. August 7, 2026
Stored topics

Every stored assignment is listed, including rows below the current cutoff (0.75), so a missing tag can be explained.

Concept Code Score Meter Margin Origin Path
science and technology science-and-technology 0.99 4.27 direct science and technology
economy, business and finance economy-business-and-finance 0.98 4.13 ↑derived from 20000225 economy, business and finance
products and services products-and-services 0.98 4.13 ↑derived from 20000225 economy, business and finance > products and services
computing and information technology computing-and-information-technology 0.98 4.13 direct economy, business and finance > products and services > computing and information technology
technology and engineering technology-and-engineering 0.97 3.48 ↑derived from 20000763 science and technology > technology and engineering
information technology and computer science information-technology-and-computer 0.97 3.48 direct science and technology > technology and engineering > information technology and computer science
media and entertainment industry media-and-entertainment-industry 0.92 2.48 ↑derived from 20000306 economy, business and finance > products and services > media and entertainment industry
books and publishing books-and-publishing 0.92 2.48 direct economy, business and finance > products and services > media and entertainment industry > books and publishing
software and applications software-and-applications 0.91 2.29 direct economy, business and finance > products and services > computing and information technology > software and applications
Software development software-development 0.91 2.27 direct economy, business and finance > products and services > computing and information technology > software and applications > Software development
arts, culture, entertainment and media arts-culture-entertainment-and-media 0.78 1.29 ↑derived from local:blogging arts, culture, entertainment and media
mass media mass-media 0.78 1.29 ↑derived from local:blogging arts, culture, entertainment and media > mass media
social media social-media 0.78 1.29 ↑derived from local:blogging arts, culture, entertainment and media > mass media > social media
Blogging blogging 0.78 1.29 direct arts, culture, entertainment and media > mass media > social media > Blogging
arts and entertainment arts-and-entertainment 0.75 1.09 ↑derived from 20000013 arts, culture, entertainment and media > arts and entertainment
literature literature 0.75 1.09 direct arts, culture, entertainment and media > arts and entertainment > literature
Information security information-security 0.57 0.30 direct science and technology > technology and engineering > information technology and computer science > Information security
labour labour 0.53 0.13 direct labour
lifestyle and leisure lifestyle-and-leisure 0.36 -0.58 ↑derived from 20000550 lifestyle and leisure
leisure leisure 0.36 -0.58 ↑derived from 20000550 lifestyle and leisure > leisure
hobby hobby 0.36 -0.58 direct lifestyle and leisure > leisure > hobby
film industry film-industry 0.31 -0.78 direct economy, business and finance > products and services > media and entertainment industry > film industry
Open source open-source 0.31 -0.79 direct economy, business and finance > products and services > computing and information technology > software and applications > Open source
crime, law and justice crime-law-and-justice 0.23 -1.24 ↑derived from 20000086 crime, law and justice
crime crime 0.23 -1.24 ↑derived from 20000086 crime, law and justice > crime
cyber crime cyber-crime 0.23 -1.24 direct crime, law and justice > crime > cyber crime
social sciences social-sciences 0.20 -1.38 direct science and technology > social sciences
Cryptography cryptography 0.19 -1.46 direct science and technology > technology and engineering > information technology and computer science > Cryptography
Self-hosting self-hosting 0.12 -1.95 direct economy, business and finance > products and services > computing and information technology > Self-hosting
society society 0.11 -2.10 ↑derived from 20001300 society
fundamental rights fundamental-rights 0.11 -2.10 ↑derived from 20001300 society > fundamental rights
privacy privacy 0.11 -2.10 direct society > fundamental rights > privacy
sport sport 0.10 -2.16 ↑derived from 20001183 sport
competition discipline competition-discipline 0.10 -2.16 ↑derived from 20001183 sport > competition discipline
eSports esports 0.10 -2.16 direct sport > competition discipline > eSports
artificial intelligence artificial-intelligence 0.08 -2.42 direct science and technology > technology and engineering > information technology and computer science > artificial intelligence
education education 0.08 -2.43 direct education
politics and government politics-and-government 0.08 -2.50 direct politics and government
game game 0.07 -2.53 ↑derived from local:tabletop-gaming lifestyle and leisure > leisure > game
Tabletop gaming tabletop-gaming 0.07 -2.53 direct lifestyle and leisure > leisure > game > Tabletop gaming
natural science natural-science 0.06 -2.70 ↑derived from 20000719 science and technology > natural science
biology biology 0.06 -2.70 direct science and technology > natural science > biology
scientific research scientific-research 0.06 -2.84 ↑derived from 20000739 science and technology > scientific research
scientific exploration scientific-exploration 0.06 -2.84 ↑derived from 20000739 science and technology > scientific research > scientific exploration
space exploration space-exploration 0.06 -2.84 direct science and technology > scientific research > scientific exploration > space exploration
environment environment 0.05 -2.95 direct environment
conflict, war and peace conflict-war-and-peace 0.05 -3.04 direct conflict, war and peace
video game video-game 0.04 -3.15 ↑derived from local:mmorpg lifestyle and leisure > leisure > game > video game
MMORPG mmorpg 0.04 -3.15 direct lifestyle and leisure > leisure > game > video game > MMORPG
human interest human-interest 0.03 -3.35 direct human interest
history history 0.03 -3.36 direct science and technology > social sciences > history
television television 0.03 -3.60 direct arts, culture, entertainment and media > mass media > television
culture culture 0.02 -3.72 direct arts, culture, entertainment and media > culture
health health 0.02 -3.80 ↑derived from 20000458 health
disease and condition disease-and-condition 0.02 -3.80 ↑derived from 20000458 health > disease and condition
mental health and disorder mental-health-and-disorder 0.02 -3.80 direct health > disease and condition > mental health and disorder
music music 0.02 -3.89 direct arts, culture, entertainment and media > arts and entertainment > music
visual arts visual-arts 0.02 -3.90 ↑derived from 20000036 arts, culture, entertainment and media > arts and entertainment > visual arts
photography photography 0.02 -3.90 direct arts, culture, entertainment and media > arts and entertainment > visual arts > photography
podcast podcast 0.02 -3.99 direct economy, business and finance > products and services > media and entertainment industry > podcast
animation animation 0.02 -4.02 direct arts, culture, entertainment and media > arts and entertainment > animation
family family 0.02 -4.09 direct society > family
card game card-game 0.01 -4.23 direct lifestyle and leisure > leisure > game > card game
consumer goods consumer-goods 0.01 -4.24 ↑derived from 20001160 economy, business and finance > products and services > consumer goods
handicrafts handicrafts 0.01 -4.24 direct economy, business and finance > products and services > consumer goods > handicrafts
streaming service streaming-service 0.01 -4.46 direct economy, business and finance > products and services > media and entertainment industry > streaming service
health treatment and procedure health-treatment-and-procedure 0.01 -4.53 direct health > health treatment and procedure
award and prize award-and-prize 0.01 -4.57 direct human interest > award and prize
travel and tourism travel-and-tourism 0.01 -4.61 direct lifestyle and leisure > leisure > travel and tourism
climate change climate-change 0.01 -4.66 direct environment > climate change
board game board-game 0.01 -4.74 direct lifestyle and leisure > leisure > game > board game
public health public-health 0.01 -5.07 direct health > public health
disaster, accident and emergency incident disaster-accident-and-emergency-incident 0.01 -5.25 direct disaster, accident and emergency incident
exercise and fitness exercise-and-fitness 0.00 -5.64 direct lifestyle and leisure > wellness > exercise and fitness
wellness wellness 0.00 -5.64 ↑derived from 20001239 lifestyle and leisure > wellness
food and drink enthusiasm food-and-drink-enthusiasm 0.00 -5.72 direct lifestyle and leisure > leisure > hobby > food and drink enthusiasm
weather weather 0.00 -5.89 ↑derived from 20001128 weather
weather forecast weather-forecast 0.00 -5.89 direct weather > weather forecast
diet diet 0.00 -6.00 direct health > health treatment and procedure > diet
lifestyle lifestyle 0.00 -6.35 ↑derived from 20001257 lifestyle and leisure > lifestyle
house and home house-and-home 0.00 -6.35 ↑derived from 20001257 lifestyle and leisure > lifestyle > house and home
gardening gardening 0.00 -6.35 direct lifestyle and leisure > lifestyle > house and home > gardening
religion religion 0.00 -6.49 direct religion

← Back to posts

feedtagger 0.1.0-dev model: modernbert-base-zeroshot-v2.0/int8@all-s256 660 posts 0 unclassified min score 0.75