vzhd1701 / evernote-backup

Backup & export all Evernote notes and notebooks
MIT License
1k stars 77 forks source link

[Feature request]: Option for export to overwrite output files instead of adding (1) to name #19

Closed zorael closed 2 years ago

zorael commented 2 years ago

Suggestion

Manjaro/Arch x86_64, evernote-backup version 1.8.0.

We have a fairly large Evernote database (en_backup.db is 10Gb), and I wanted to back it up on a rolling basis, so I set up a timer on a headless Linux machine to do evernote-backup sync, evernote-backup export once weekly.

It initially worked well and it exported the whole database into .enex files, but over time it quickly filled the hard drive with Notebook (1).enex, Notebook (2).enex, Notebook (3).enex etc, all with the same size.

Would it be possible to have a command-line flag to make evernote-backup export overwrite old files as new ones with the same names are exported?

vzhd1701 commented 2 years ago

Done. Now you have --overwrite flag to use with evernote-backup export. You can check it out in the new version.

zorael commented 2 years ago

Thanks!