Escaping Evernote's collapsing walls.
# Yarle
I'm using Yarle to export my poor old long abandoned notes from Evernote into an Obsidian-friendly markdown format.
This is the way that I have had success running it:
```sh
npx -p
[email protected] yarle --configFile ~/path-to/config.json
```
The configuration file looks like this:
```json
{
"enexSources": [
"/home/xybre/Documents/nevernote/Tech/FTL - Hyperluminal.enex"
],
"templateFile": "/home/xybre/Source/Clones/evernote-to-obsidian/template.tmpl",
"outputDir": "/home/xybre/Source/Clones/evernote-to-obsidian/markdown-exports",
"isZettelkastenNeeded": false,
"plainTextNotesOnly": false,
"skipWebClips": false,
"useHashTags": true,
"outputFormat": "ObsidianMD",
"keepImageSize": "ObsidianMD",
"taskOutputFormat": "ObsidianMD",
"urlEncodeFileNamesAndLinks": false,
"skipEnexFileNameFromOutputPath": false,
"monospaceIsCodeBlock": true,
"keepMDCharactersOfENNotes": false,
"keepOriginalAmountOfNewlines": false,
"addExtensionToInternalLinks": true,
"nestedTags": {
"separatorInEN": "_",
"replaceSeparatorWith": "/",
"replaceSpaceWith": "-"
},
"resourcesDir": "_attachments",
"turndownOptions": {
"headingStyle": "atx"
},
"dateFormat": "YYYY-MM-DDTHH:mm:ssZ",
"haveEnexLevelResources": true,
"haveGlobalResources": false,
"logseqSettings":{
"journalNotes": false
},
"obsidianSettings": {
"omitLinkDisplayName": false
}
}
```
The template file looks like this:
```tiki
---
{tags-array-block}tags: {tags-array}{end-tags-array-block}
{created-at-block}created_at: {created-at}{end-created-at-block}
{updated-at-block}updated_at: {updated-at}{end-updated-at-block}
origin: evernote
{title-block}origin-title: {title}{end-title-block}
{notebook-block}origin-folder: {notebook}{end-notebook-block}
{source-url-block}origin-url: {source-url}{end-source-url-block}
{location-block}origin-location: {location}{end-location-block}
---
{content-block}{content}{end-content-block}
```
see also: https://brianmeeker.me/2022/08/09/switching-from-evernote-to-obsidian-with-yarle/