
Jose de la Mancha
Level 2-
Content Count
16 -
Joined
-
Last visited
Community Reputation
4 NeutralAbout Jose de la Mancha

Profile Information
-
Subscription
BASIC
-
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
As a bonus, I have : Added the bat script as a task in the Task Scheduler, to be executed once a week Added a line at the end of the bat script, to have it automatically delete all Backup folders older than 30 days : forfiles -p "D:\Backups\Evernote" -m Backup* -d 30 -c "cmd /c IF @isdir == TRUE rd /S /Q @path" -
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
You are right @jefito. Why bother so much after all ? I have made this bat script : chcp 1252 > nul set $madate=%date:~-4%-%date:~3,2%-%date:~0,2% md "D:\Backups\Evernote\Backup "%$madate% "C:\Program Files (x86)\Evernote\ENScript.exe" exportNotes /q "notebook:Appartements" /f "D:\Backups\Evernote\Backup "%$madate%"\Appartements.enex" "C:\Program Files (x86)\Evernote\ENScript.exe" exportNotes /q "notebook:Brouillons" /f "D:\Backups\Evernote\Backup "%$madate%"\Brouillons.enex" "C:\Program Files (x86)\Evernote\ENScript.exe" exportNotes /q "notebook:\"Carnet principal\"" /f "D:\Backu -
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
About notebook 03, if I change its name to "Carnetprincipal" it's saved. So the space seems to be a problem. It would also explain why notebooks 13 and 15 aren't saved. Which raises two questions : 1. Is there a way to solve it without having to change the notebook names ? 2. Why isn't it a problem in notebooks 06, 07, 08 that have spaces too ??? EDIT - notebooks 06, 07, 08 are saved incorrectly too. Probably because of the spaces. So we've solved the accents problem (using a workaround), but not the spaces problem. Oh boy. -
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
@jefitoyou were right with both remarks. Which made me modify the script and end up with this : $ENscript = "C:\Program Files (x86)\Evernote\Evernote\ENScript.exe" $BackupLocation = "D:\Backups\Evernote\" $date = get-date -uformat "%Y-%m-%d" $BackupDir = $BackupLocation + "Backup " + $date if ( ! (Test-Path $BackupDir) ) { md $BackupDir } $B01 = $BackupDir + "\Appartements.enex" $B02 = $BackupDir + "\Brouillons.enex" $B03 = $BackupDir + "\Carnet principal.enex" $B04 = $BackupDir + "\Cuisine.enex" $B05 = $BackupDir + "\Danse.enex" $B06 = $BackupDir + "\Danse - Apprentissage.enex" $B07 = $ -
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
I'd like to report that I've FINALLY managed to make it work, and backup ALL OF MY CURRENTLY 18 EVERNOTE NOTEBOOKS. But to achieve this, I had to make big compromises on the script side. The loop part just wouldn't work because of the accents / special chars thing. Even seeking help from other boards, it was impossible to make it work. Don't know why. So I just typed in the notebook names one by one, assigning them to various variables. But even THAT didn't work ! So ultimately I had to shorten 6 of the notebook names in the ENscript calls, using the "*". And then miraculously, -
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
All : after a long discussion on two PowerShell boards (here's the shortest one, the other one is in french : ), everything seems to point indeed at the ENscript.exe windows executable. It looks like it has trouble handling accents and spaces in notebook names. People on these boards say they can't do anything, and it needs to be fixed on the ENscript.exe side. @gbarryI have submitted a support ticket on Evernote's Twitter support channel here : Could you please make sure that somebody looks into it, and that somebody keeps me/us informed ? Thanks in advance. -
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
@jefitoFYI names with spaces aren't saved either apparently, which would be even a bigger issue. Have you noticed that ? Your script doesn't report that as an error, which means that I didn't notice it at first. I have posted the issues (accents, spaces) on a PowerShell board, and I will report back on any improvements. PS : PinkElephant, manually renaming all the notebooks (by replacing all the accents and spaces) just to allow local backups is not a solution, and barely a workaround. Not very acceptable to me, sorry. -
Other How-To: Backing up Evernote using PowerShell
Jose de la Mancha replied to jefito's topic in Education
Hi @jefito and thanks for your script. Could you please try and address JMD63's issue ? I have exactly the same problem. When I try to backup my notebooks with your script, all those who have accentuated characters (ex : "é") are simply NOT saved, which is obviously a big problem. The problem seems to come when fetching a notebook's name $name = $reader.ReadLine() , because when that name is displayed "Backing up " + $name + "..." , it's already displayed incorrectly in the console. And ultimately the corresponding file is not saved to my hard drive. So if I have 12 n -
Hey, sorry to insist, but I could really use some replies here.. Thanks !!!
- 107 replies
-
Sooo, any ideas, please ? I'd love to be able to actually read my notes on my Android phone. Hopefully I'm not the only one here to use Evernote on his mobile ?...
- 107 replies
-
Does anybody know how to make this patch work on Evernote for Android ? Right now I can have clear text on dark background on my PC, but it becomes pretty unreadable on my mobile. Thanks.
- 107 replies