EFLS/zetteldeft

Question: Batch rename tags on all related zettels

buhtz opened this issue · 1 comments

buhtz commented
  • I want to rename a the tag #foo to #bar.
  • And I want to do this on all zettels where #foo appears.

Sounds like a search-and-replace-in-all-files-feature.

Is there a zetteldeft-way for this?
Or should I search for an emacs way?

EFLS commented

Look for an Emacs way. I use wgrep to do this: it allows you to edit a grep buffer (with the search results) and write changes to all files where they appear.