🌱 (seedling) | Permanent note |

<%* const newFolder = ‘/S01 Personal/030-039 Areas/32 Zettelkasten/Permanent notes/’ -%> <%* function log(msg) { console.log(msg); } -%> <%* const userFileName = await tp.system.prompt(“Filename:”) -%> <%* var newName = newFolder +userFileName+’.md’

if (await tp.file.exists(newName)===true) { newName = userFileName+’_‘+tp.file.creation_date(‘YYYY_MM_DD_HH_mm_ss’) } else { newName = userFileName } -%> <%* tR += await tp.file.rename(newName) -%> <%* await tp.file.move(newFolder+newName) -%>

<% newName %>

<% await tp.system.clipboard() -%> <% await tp.file.cursor() -%>

Linking

Enjoy this post? Buy me a Coffee at ko-fi.com

Notes mentioning this note