Jump to content

Jose de la Mancha

Level 2
  • Content Count

  • Joined

  • Last visited

Community Reputation

4 Neutral

About Jose de la Mancha

Profile Information

  • Subscription
  1. 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"
  2. 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
  3. 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.
  4. @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 = $
  5. 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,
  6. 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.
  7. @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.
  8. 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
  9. 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 ?...
  10. 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.
  • Create New...