批量导出EverNote中的所有笔记
印象笔记客户端中,导出笔记这个功能不能支持全量一次性导出,只能按笔记或者笔记本来导出,并且导出的笔记需要自己手工维护路径,感觉有点麻烦。
本地备份一方面比较安全,另一方面如果印象笔记以后不提供服务了,可以直接将导出的文件恢复到其他笔记应用,目前大部分笔记应用都支持enex文件导入。
通过使用该工具可以将笔记按笔记本组/笔记本/笔记.enex路径来导出。
Token获取
1.页面申请:
2.网页获取:
登录印象笔记首页:
安装
pip install evernote-export
Usage
$ evernote-export
Usage: evernote-export [options]
Options:
-h, --help show this help message and exit
-t TOKEN, --token=TOKEN
evernote_api_token
-d DIR, --dir_path=DIR
export dir path
--sandbox_model is sandbox model,default False
--china_user is chinese user,default False
# token和导出文件路径是必选参数
# 注意:指定的导出路径在运行时会先清空
$ evernote-export -t your_api_token -d /home/dong/evernote --china_user
导出文件示例
$ tree
.
├── EverMemo
│ ├── xxxx.enex
│ ├── xxx.enex
│ └── xxx.enex
├── 大数据
│ ├── hadoop
│ │ ├──xxxx.enex
│ │ ├── xxxx.enex
│ │ └── xxxx.enex
│ ├── hbase
│ │ ├── xxxx.enex
│ │ ├── xxxx.enex
│ │ └── xxxx.enex
│ ├── hive
│ │ ├── xxxx.enex
│ │ └── xxxx.enex
│ └── spark
│ ├── xxxx.enex
│ └── xxxx.enex
└── 个人
└── 随笔
├── xxx.enex
└── xxx.enex
注意事项
- 笔记的tag未导出
- 笔记标题中特殊字符[/\\s<>],会被替换为下划线
- 仅在Mac和linux系统Python2.7环境下测试过,Python3不支持
Metadata
Release files for evernote-export 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evernote_export-1.0.2-py2-none-any.whl | Python 2 | none | any | Details for evernote_export-1.0.2-py2-none-any.whl |
Release files / evernote_export-1.0.2-py2-none-any.whl
| Download URL | evernote_export-1.0.2-py2-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
075a155a2b5ad46405a8a24fd1bca7ce5a35ce02f21df23633108731fc35b630
|
|
BLAKE2b-256 checksum How to use checksums |
07b8f41dd88309e33569cc2f6eb8e0b6bc040d924e23fd17f25c94150fe2e127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.2 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.15.0 CPython/2.7.12
|
Security for evernote-export 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.