Wednesday, September 14, 2016

Evernote to Apple Notes


Migrate from Evernote to Apple Notes and keep notes tags, location and other metadata


Do you want to migrate your notes from Evernote to Apple Notes and keep all notes metadata like tags, location, web page source, author and other valuable information?
Until now, this was a problem, as Apple Notes do not support tags, location, notes author, web page source and other metadata. That information is lost during import of Evernote exported notes into Apple Notes desktop.
In an effort to constantly improve the lives of our existing and potential users, we prepared an example CloverETL graph that will migrate your Evernote notes into Apple Notes desktop app in four steps:

  1. Reading your exported Evernote notes (.enex file)
  2. Looking for notes metadata (note tags, location, author, note source, etc.)
  3. Copying those metadata into note text in user and machine readable form
  4. Generating a new .enex file, which can be easily imported into Apple Notes desktop

Here is a detailed user manual how convert your notes:
  1. Download and install free 45-days trial of CloverETL 4.3.0
  2. Download and import example CloverETL migration graph
  3. Export your notes from Evernote desktop
  4. Run example CloverETL migration graph
  5. Import your notes into Apple notes desktop


1) DOWNLOAD FREE 45-DAYS TRIAL OF CLOVERETL DESIGNER 4.3.0

You can download 45-days trial of CloverETL 4.3.0 for OSX / macOS, Windows or Linux here.

2) INSTALL CLOVERETL 4.3.0 DESIGNER

Installation of CloverETL Designer is pretty simple. In OSX open downloaded .dmg file and follow installation instructions. Once you accept user agreement, please perform typical OSX installation by copying CloverETL Designer App into Application folder.




When you open CloverETL Designer icon, you may receive security notification, please click on “Open”.


CloverETL Designer will ask you to chose disk and folder of workspace, where you will store:
  • CloverETL example graph
  • Notes you exported from Evernote (as .enex file)
  • Processed .enex file ready to be imported to Apple Notes
In this manual we use example folder /Users/YourUserName/Documents/CloverETLworkspace.

Once you register your copy of CloverETL Designer you can start to work with CloverETL Designer.


3) DOWNLOAD AND IMPORT EXAMPLE CLOVERETL MIGRATION GRAPH
Download example CloverETL project files: Evernote Example.

In CloverETL Designer chose “File –> Import –> CloverETL –> Import external CloverETL projects” and press button “Next”.


Select archive (downloaded) example file and press button “NextExample CloverETL graph is now imported into your CloverETL Designer. 



In you CloverETL workspace, you will see new folder:
/Users/YourUserName/Documents/CloverETLworkspace/EvernoteExample

There are several sub-folders. Three of them are important for you:
  • /data-in/ you will save all your Evernote exported .enex files there
  • /data-out/ CloverETL will create updated .enex files there
  • /graph/  CloverETL transformation graph is located there.
After import, go to left-upper part of CloverETL Designer screen called “Navigator”. Go to folder /graph/ and click on graph “EvernoteTransformer”.  You should see this screen:




4) CHANGE PROPERTIES OF CLOVERETL DESIGNER
In CloverETL Designer go to “CloverETL Designer -> Preferences -> CloverETL -> ETL Runtime” and:
  • Change parameter “Max heap size” into 3000 (MB) . This allows you to process large files up to 250 MB.
  • Set-up CloverETL properties file as "EvernoteExample/CloverETL.properties".
  • Click "Apply”.
  • CloverETL Designer runtime will be restarted (aprx. 10-15 sec.).



5) EXPORT YOUR NOTES FROM EVERNOTE DESKTOP
  1. Select group of notes or whole notebook (recommended) and select “Export Notes from”  (important: size of  one note including attachments should not exceed 25MB).
  2. Save your notes as Evernote export “.enex” export file into your CloverETL Designer workspace folder into /data-in/ directory in your workspace.
  3. You can save as many files as you want.
  4. Go back to CloverETL Designer.


6) Run example CloverETL migration graph
Click  on green “Play” button to execute ETL graph.




You will be asked to enter file name. Please enter name of one of your exported files in  /data-in/ directory in your workspace. Press “OK” to run graph.



Once graph run has been successfully executed, console window (bottom center window) turn light green and you will receive console message:
INFO  [JobFinalizer_5] Finished Status: FINISHED_OK”.




7) IMPORT YOUR NOTES INTO APPLE NOTES
  1. Open Apple Notes, chose “File -> Import to Notes ->”.
  2. Go to your CloverETL Designer workspace into /data-out/ directory.
  3. Select updated .enex file you want.

8) KNOWN LIMITATIONS

  • The graph was built in CloverETL Designer 4.2.0.
  • Size of one note including attachments should not exceed 25MB.
  •  Only one .enex file can be processed in one graph execution.
  • Encrypted Evernote notes are transformed blank.
  • Evernote encrypted notes are migrated blank.
  • The XSD schema of Evernote .enex file is predefined and ready to use without any changes.
  • Changes in notes design are done by Apple Notes app, not by CloverETL.


9) TROUBLESHOOTING:
Console message
Solution
File is unreachable:
You entered wrong file name of Evernote file to be migrated
SAX parsing exception
Realocation of CloverBuffer failed. 

Requested capacity is 99900090 and maximum capacity is 80000000.
Edit both values in file “/EvernoteExample/CloverETL.properties/

Restart CloverETL runtime or re-launch CloverETL designer
Java heap space Heap:
Go to “CloverETL Designer -> Preferences -> CloverETL -> ETL Runtime

Change parameter “Max heap size” into larger volume.  Please be noted, that CloverETL runtime max allocation depends on your macbook real RAM size

Restart CloverETL runtime or re-launch CloverETL designer


FINAL REMARKS  
Did you enjoy the experience with Clover? Let us know in the comments.

Do you want to use Clover for something different? Visit the academy (add hyperlink: http://www.cloveretl.com/learn/walkthrough/) to get a taste of how to create graphs yourself and start implementing your own solutions.
Remember, imagination is your only limit.

No comments:

Post a Comment