国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > Linux > 正文

在Linux的命令行下使用Evernote的教程

2020-07-10 11:26:01
字體:
供稿:網(wǎng)友

Geeknote 的安裝

Geeknote是使用Python開發(fā)的。因此,在開始之前請確保你已經(jīng)安裝了Python(最好是2.7的版本)和git。
在 Debian、 Ubuntu 和 Linux Mint 中

   

復(fù)制代碼
代碼如下:
$ sudo apt-get install python2.7 git python-setuptools
$ git clone git://github.com/VitaliyRodnenko/geeknote.git
$ cd geeknote
$ sudo python2.7 setup.py install

在 Fedora 或者 CentOS/RHEL 中

   

復(fù)制代碼
代碼如下:
$ sudo yum install git
$ git clone git://github.com/VitaliyRodnenko/geeknote.git
$ cd geeknote
$ sudo python setup.py install

在 Arch Linux 中

對于ArchLinux用戶,只需要使用AUR中的包。
Geeknote 的基本使用

一旦你安裝完Geeknote后,你應(yīng)該將Geeknote與你的Evernote賬號關(guān)聯(lián):

   

復(fù)制代碼
代碼如下:
$ geeknote login

接著輸入你的email地址、密碼和你的二步驗(yàn)證碼。如果你沒有后者的話,忽略它并按下回車。
2015611175923252.jpg (329×112)

顯然你需要一個(gè)Evernote賬號來完成這些,因此先去注冊吧。

完成這些之后,你就可以開始創(chuàng)建新的筆記并編輯它們了。

不過首先,你還需要設(shè)置你最喜歡的文本編輯器:

   

復(fù)制代碼
代碼如下:
$ geeknote settings --editor vim

然后,一般創(chuàng)建一條新筆記的語法是:

   

復(fù)制代碼
代碼如下:
$ geeknote create --title [title of the new note] (--content [content] --tags [comma-separated tags] --notebook [comma-separated notebooks])

上面的命令中,只有‘title’是必須的,它會(huì)與一條新筆記的標(biāo)題相關(guān)聯(lián)。其他的標(biāo)注可以為筆記添加額外的元數(shù)據(jù):添加標(biāo)簽來與你的筆記關(guān)聯(lián)、指定放在那個(gè)筆記本里。同樣,如果你的標(biāo)題或者內(nèi)容中有空格,不要忘記將它們放在引號中。

比如:

   

復(fù)制代碼
代碼如下:
$ geeknote create --title "My note" --content "This is a test note" --tags "finance, business, important" --notebook "Family"

然后,你可以編輯你的筆記。語法很相似:

   

復(fù)制代碼
代碼如下:
$ geeknote edit --note [title of the note to edit] (--title [new title] --tags [new tags] --notebook [new notebooks])

注意可選的參數(shù)如新的標(biāo)題、標(biāo)簽和筆記本,用來修改筆記的元數(shù)據(jù)。你也可以用下面的命令重命名筆記:

   

復(fù)制代碼
代碼如下:
$ geeknote edit --note [old title] --title [new title]

現(xiàn)在基本的創(chuàng)建和編輯已經(jīng)完成了,更高級的特性是搜索和刪除。你可以下面的語法搜索你的筆記:

   

復(fù)制代碼
代碼如下:
$ geeknote find --search [text-to-search] --tags [comma-separated tags] --notebook [comma-separated notebooks] --date [date-or-date-range] --content-search

默認(rèn)地上面的命令會(huì)通過標(biāo)題搜索筆記。 用"--content-search"選項(xiàng),就可以按內(nèi)容搜索。

比如:

   

復(fù)制代碼
代碼如下:
$ geeknote find --search "*restaurant" --notebooks "Family" --date 31.03.2014-31.08.2014

顯示指定標(biāo)題的筆記:

   

復(fù)制代碼
代碼如下:
$ geeknote show [title]

 2015611175945459.jpg (417×200)

    我最喜歡使用的一個(gè)技巧是使用:

   

復(fù)制代碼
代碼如下:
$ geeknote show "*"

這會(huì)顯示所有的筆記并允許你在這中選擇一個(gè)。

刪除一條筆記:

   

復(fù)制代碼
代碼如下:
$ geeknote remove --note [title]

小心這是真正的刪除。它會(huì)從云存儲中刪除這條筆記。

最后有很多的選項(xiàng)來管理標(biāo)簽和筆記本。我想最有用的就是顯示筆記本列表。

   

復(fù)制代碼
代碼如下:
$ geeknote notebook-list

    2015611180006553.jpg (295×83)

    下面的命令非常相像。你可以猜到,可以用下面的命令列出所有的標(biāo)簽:

   

復(fù)制代碼
代碼如下:
$ geeknote tag-list

創(chuàng)建一個(gè)筆記本:

   

復(fù)制代碼
代碼如下:
$ geeknote notebook-create --title [notebook title]

創(chuàng)建一個(gè)標(biāo)簽:

   

復(fù)制代碼
代碼如下:
$ geeknote tag-create --title [tag title]

一旦你了解了竅門,很明顯這些語法是非常自然明確的。

如果你想要了解更多,不要忘記查看官方文檔。
福利

作為福利,Geeknote自帶的gnsync工具可以讓你在Evernote和本地計(jì)算機(jī)之間同步。不過,我發(fā)現(xiàn)它的語法有點(diǎn)枯燥:

   

復(fù)制代碼
代碼如下:
$ gnsync --path [where to sync] (--mask [what kind of file to sync] --format [in which format] --logpath [where to write the log] --notebook [which notebook to use])

發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 故城县| 乌拉特前旗| 永兴县| 博爱县| 郴州市| 扬中市| 镇安县| 夏邑县| 察哈| 乌拉特前旗| 宜州市| 临沧市| 金昌市| 盈江县| 锦屏县| 衡东县| 休宁县| 富平县| 南丹县| 阳曲县| 兴宁市| 怀仁县| 九寨沟县| 台安县| 海丰县| 南江县| 历史| 鹤岗市| 邹平县| 会泽县| 左云县| 鸡东县| 永春县| 扶沟县| 仪陇县| 巫溪县| 五河县| 治多县| 新余市| 天等县| 谢通门县|