Jump to content

Prepend date to all notes that already exist possible?


Go to solution Solved by gazumped,

Recommended Posts

  • Level 5

Sure - type it in ….

EN v10 does not support scripting.

Maybe there are tools that allow to change a title based on a notes properties, but they likely will only work with legacy. Or (maybe as well) you could write a program that accesses the server database through the API, reads and modifies the notes as you want it.

Nothing easy and off the shelf, I think,

Link to comment
  • Level 5*
  • Solution

An external Freemium app - Filterize - will edit titles and (I think) will do what you want.  It only works on newly created or edited notes,  so you might have to bulk add a tag or something  to switch it on.  Not sure if this is available as part of the 'free' service,  but it may be worth a look...

https://filterize.net/

https://filterize.net/doc/actions/

Link to comment
16 hours ago, PinkElephant said:

Sure - type it in ….

EN v10 does not support scripting.

Maybe there are tools that allow to change a title based on a notes properties, but they likely will only work with legacy. Or (maybe as well) you could write a program that accesses the server database through the API, reads and modifies the notes as you want it.

Nothing easy and off the shelf, I think,

Unfortunately that doesn't help with my 13000 notes that already exists. I should have been more clear in my post that I need to preprend to existing notes. Thanks for the ideas tho, I'll keep trying to find a solution as that's a lot of typing...

Link to comment
4 hours ago, gazumped said:

An external Freemium app - Filterize - will edit titles and (I think) will do what you want.  It only works on newly created or edited notes,  so you might have to bulk add a tag or something  to switch it on.  Not sure if this is available as part of the 'free' service,  but it may be worth a look...

https://filterize.net/

https://filterize.net/doc/actions/

I will try this, I'm fine to pay if needed as I have a lot of notes to deal with and my other option is to share my notes and get a VA to manually do it so I'll explore Filterize first. Thanks!

  • Like 1
Link to comment

If the suggested methods don't work, you could export your notes and write a simple (python) program to modify the .enex file. Then you can re-import your changed notes, first in another notebook to check the process.

This is how the enex looks like. As you see, it's quite straight forward to do the transformation.

  <note>
    <title>test0</title>
    <created>20220920T155042Z</created>

    <updated>20220920T155114Z</updated>
    <note-attributes>
      <author>eric99</author>
    </note-attributes>
    <content>
       . . .
    </content>
  </note>

  • Like 1
Link to comment
  • Level 5*
18 minutes ago, eric99 said:

20220920T155042Z

Interesting - I get the date part but is that last bit the time?

-And generally;  I strongly second the idea of keeping the changed files separate - even to the stage of using a separate account for the initial import - corrupting the original database could seriously ruin your day...

Link to comment
2 hours ago, gazumped said:

Interesting - I get the date part but is that last bit the time?

-And generally;  I strongly second the idea of keeping the changed files separate - even to the stage of using a separate account for the initial import - corrupting the original database could seriously ruin your day...

Yes, the last bit is the time field.

I think the major risk is the V10 export/import implementation itself. Evernote developers are a little bit sloppy with that kind of code (look at the HTML and pdf exports with plenty of bugs).

That said, I think your Filterize method is the way to go, I looked it up in the Filterize docs: titles can indeed be composed from other fields (prepend and append)  https://filterize.net/doc/actions/

 

  • Like 1
Link to comment
On 9/20/2022 at 4:49 AM, gazumped said:

An external Freemium app - Filterize - will edit titles and (I think) will do what you want.  It only works on newly created or edited notes,  so you might have to bulk add a tag or something  to switch it on.  Not sure if this is available as part of the 'free' service,  but it may be worth a look...

https://filterize.net/

https://filterize.net/doc/actions/

I did end up using this and it worked perfectly although I had to pay for a month which is fine with me since it's exactly what I was looking for. 

I backed up my notes in ENEX files then started on the process. 

It had an issue changing the old notes the first time so I made a TEMP folder in EN and set that as the folder that would prepend the date. 

Anything I dragged in there took a while but the dates got added. So it's a slower process, but does the job. I did it starting about 4pm my time yesterday and I checked before bed and was only small way into the process, woke up and all done. 

This was a small test of 900 notes, now I'll add the rest I need. 

For reference, I'm using Evernote Legacy, Windows 10, and Filterize. 

The action steps were to pay for account, then go to Dashboard > Filter Manager > create Simple Filter > choose Note Title > Add Title Prefix > click + sign and choose Time Note Was Created > choose the time format I wanted > set condition to In Notebook and type name of notebook > save > drag notes into notebook and wait 

  • Like 2
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...