Skip to content
Discussion options

You must be logged in to vote

I’m trying to change a keyword for many files, and it’s not great to do it manually. Do you have a suggestion on how to do it for a bunch of files?

Maybe this can be done with the command denote-dired-rename-marked-files-with-keywords?

I have written a function to replace a single tag, but I’m wondering what is the best way to apply it to my whole denote collection

What I would do for a common case is:

  1. Call denote-dired and search for _KEYWORD.
  2. Type t (dired-toggle-marks) to mark all the matching files.
  3. Use denote-dired-rename-marked-files-with-keywords on them.

Otherwise, your custom function looks like a step in the right direction. Check how we do it for many files in denote-dire…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by brabalan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants