-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Is it possible to not replace tags when renaming from dired? #87
Comments
Hello @atanasj! If I understand this correctly: you want the front matter to stay as-is and have the file name be renamed according to that data, right? If so, check the command [ Try it with a test file before operating on your actual data. ] |
Thanks for that, I did try that, but it did not work. I get the message:
The format of the ---
date: 2017-07-25T05:38:27+0000
identifier: "20170725T053827"
title: "IASP - Special Interest Group: Suicidal Behaviour in Adolescents"
tags: ["Treatment"]
url: https://iasp.info/suicidal_behaviour_in_adolescents.php
source: web.clip
--- |
Yes, I forgot to mention that the file name must already have an identifier. It should, at the very least, be named We will need to update the command to work on any file that ends with one of our supported extensions. Will look into it now. |
Okay… that worked after I renamed the file to that. I could probably fudge something on the command line to rename using the identifier, but if it is built in, all the better! Thanks for being so responsive! |
Yes, it should be provided by Denote. There is no reason to keep the current restriction. |
That would be awesome! |
@atanasj You are pulling directly from git, right? If so, please check the latest commit |
@protesilaos, yes! That works as expected. 😄 |
Very well! Let's keep this open for a while longer. There may be some more refinements to be made. Will keep you posted. |
Okay… I seem to be having problems in marking and bulk renaming in
Could it be something with my setup? I am also using |
Which command did you use? The error most likely is internal to Denote. |
I am using |
I just pushed a change. It basically relaxes the condition of what counts as a writable file. Same idea with what I did for the single file renaming. Please try commit |
WORKING! Nice job! This solves the issue for me, so I'll gratefully close! 😄 |
Very well! Thanks again for your feedback! |
I have a number of notes that I have migrated from evernote and have reformatted the
yaml
header to be as close as possible to thedenote
format. However, I do not want to change the existing tags in theyaml
. Can I skip over them without changing or manually selecting them from the minibuffer?Ideally, I would want these tags to persist… Is this possible?
The text was updated successfully, but these errors were encountered: