Evernote命令行工具
toever的Python项目详细描述
toever是一个命令行工具,用于创建evernote的注释。
此命令专门用于传输文件和记录的功能。 各种文件都可以传送。 二进制文件注册为附加文件。
文本和二进制文件也可以从标准输入注册。 标准输入对应于除非“tail-f”等发出信号,否则无法结束的命令。
标签、笔记本和标题可以作为选项附加,或者可以获取共享链接。
要发送到Evernote的文件
$ toever aaa.txt $ toever aaa.txt bbb.txt ccc.txt $ toever photo1.jpg photo2.jpg --notebook 'photo'
如果将标准输入传递给toever,则将创建evernote的注释。
$ cat /etc/nginx/nginx.conf | toever --tags nginx,config --notebook linux $ toever -t 'localhost hosts file' < /etc/hosts $ tail -f /var/log/access_log | toever
如果在选项中指定文件名,则将其另存为附件。
$ tar cvz /etc/nginx | toever -f nginx.tar.gz $ curl https://www.python.org/static/img/python-logo.png | toever -f python.png $ wget -O - https://github.com/ngc224/toever/archive/master.tar.gz | toever -f master.tar.gz
如果添加“–share”选项,则可以获取共享URL。
$ toever ~/.ssh/authorized_keys --share ... Created note title is 'toEver Post 2014-11-20 21:19:16' [50.0 MB / 4096.0 MB] share link --> https://www.evernote.com/shard/s143/sh/5f55f19e-d5f4-4131-95e8-81f0b0...