可能很多朋友都用印象笔记,但如果是免费版,有注册终端的数量限制,印象笔记文件后缀的名称是enex,如果要打开enex文件,但是电脑无授权,有什么workaround的方法?
在合规的情况下,只要是技术问题,当然有各种解决套路,有大佬写了一个能将印象笔记的enex文件转换成markdown的应用程序。
程序名称叫evernote2md,可以从github上下载,
https://github.com/wormi4ok/evernote2md/tags
可以找到最新的版本进行下载,
evernote2md_0.21.0_Windows_amd64
将下载后的文件解压,可以得到evernote2md.exe,进入命令行窗口,直接执行evernote2md.exe,可以看到该程序的帮助信息,
C:\evernote2md_0.21.0_Windows_amd64>evernote2md.exeevernote2md - Convert Evernote notes exported in *.enex format to markdown fileshttp://github.com/wormi4ok/evernote2mdUsage:evernote2md [input] [output]Positional Variables:input Evernote export file, directory or a glob pattern (Required)output Output directory (default: .\notes)Flags:--version Displays the program version string.-h --help Displays help with available flag, subcommand, and positional value parameters.-t --tagTemplate Define how Evernote tags are formatted (default: `{{tag}}`)-o --outputDir Override the directory where markdown files will be created--folders Put every note in a separate folder--noHighlights Disable converting Evernote highlights to inline HTML tags--escape-special-chars Escape special characters to ensure correct rendering of the converted files--resetTimestamps Create files ignoring timestamps in the note attributes--addFrontMatter Prepend FrontMatter to markdown files-v --debug Show debug outputRequired global positional variable input not found at position 1
可以将待转换的enex文件放到evernote2md文件夹路径中,命令行执行,
C:\evernote2md_0.21.0_Windows_amd64>evernote2md.exe test.enexDone!Converted 1 notes in 137 milliseconds
如果在需转换文件所在文件夹下执行evernote2md,则只需输入文件名称即可,如上所示,生成的test.md会存储导test.enex同级目录中,图片会存储到image文件夹中。
如果不在同一个文件夹中,输入格式,
evernote2md [input] [outputDir]
其中,
input:需要转换的文件的路径。
outputDir:转换输出的路径。可以不写,不写时会默认在文件所在目录创建一个notes文件夹存放md文件及对应图片文件。
就可以用md软件或者文本编辑器打开了。
如果您认为这篇文章有些帮助,还请不吝点下文章末尾的"点赞"和"在看",或者直接转发pyq,

文章转载自bisal的个人杂货铺,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




