Skip to content

Instantly share code, notes, and snippets.

@msteen
msteen / find_zettel_orphans.rb
Last active April 29, 2020 15:35 — forked from DivineDominion/find_zettel_orphans.rb
In a directory of Zettel notes, find all those without incoming links
#!/usr/bin/env ruby
require 'set'
# Change the path here:
# ARCHIVE = '~/Archive/'
ARCHIVE = '/admin/fork/The-Archive-Demo-Notes'
EXTENSIONS = %w{.md .txt .markdown .mdown .text}
#################################################################