Quick-Start with Geeknote the Evernote Command Line Client on Mac OS X

November 19th, 2014 by Zen BSD

Mac OS X Evernote Command Line Client Quick-Start



The Unix Tutorial Shows You Step-by-Step How-to Getting-Started with Geeknote the Evernote Command Line Client for Mac OS X Unix/BSD.

Geeknote Features List:

  • Creating Notes Directly on Command Line
  • Editing Existing Notes with a Custom External Editor
  • Syncing Local Textfiles to Evernote Notes
  • Making New Noteboks on Command Line
Evernote Command Line Client Quick-Starting on Mac OS X - Featured
  1. How-to Install Geeknote for Mac OS X:

    Geeknote Installation Mac
  2. Start Working with Geeknote

    geeknote login

    Insert your Evernote Credentials to generate Access Token, which will be saved in Local Database.
    Re-authorization is required only when You decide to Change User.
    To Logout:

    geeknote logout
  3. Creating New Notes on Command Line

    Command Synopsis:

    geeknote create --title <title>
                    --content <content>
                    [--tags <list of tags>]
                    [--notebook <notebook where to save>]
    

    Options:
    –title <title>
    The Title of new note we want to create.
    –content <content>
    The Content of new note. The Content must Not contains Double Quotes (“)! To Use “” Double Quotes see below How-to Create Notes with Editor and then Syncing Local Files to Evernote.
    –notepad <notebook where to save>
    Optional: the Notepad where new note should be saved. If it isn’t given, the note will be saved in default notebook. If notebook doesn’t exist Geeknote will create it automatically.
    –tags <list of tags, like: tag1, tag2>
    Optional: the Tags that our note will have. It can accept Multiple tags, separated with Comma.
    Example:

    geeknote create --title "Shopping list 18.11.2014"
                    --content "Don't forget to buy milk, turkey and chips."
                    --notebook "Food"
                    --tags "shopping, food, important, family"
    
  4. Syncing Local Text Files into New Evernote Notes

    Command Synopsis:

    gnsync --path 
            [--mask ]
            [--format ]
            [--logpath ]
            [--notebook ]
    

    –path <Path to directory which to sync>
    Set with that option the directory you want to sync with Evernote. It should be the directory with text content files.
    –mask <Unix Shell-style Wildcards to Select the files>
    Optional: You can tell gnsync what filetypes to sync. By Default gnsync tries to open Every File in the directory. But you can set the mask like: *.txt, *.log, *.md, *.markdown.
    –format <in what Format to save the note – Plain or Markdown>
    Optional: gnsync supports markdown and plain text formats. By default it uses plain text engine.
    –logpath <path to logfile>
    Optional: gnsync can Log information about syncing and with that option you can Set the logfile.
    –notebook <notebook where to save>
    Optional: You can set the Notebook which will be syncronized with local directory. By Default gnsync will Create New Notebook with the name of the directory that you want to sync.
    Example:

    gnsync --path /home/project/issues/logs/
             --mask "*.log"
             --logpath /home/user/logs/issues.log
             --notebook "Damn issues"
  5. Setting an External Editor for Editing Existing Notes

    This is Worth only for Editing Existing Notes and Not Needed for New Ones…
    The Default Editor is ‘nano‘!
    To Change Editor Example:

    geeknote settings --editor vim
  6. Searching Existing Notes by KeyWord

    Command Synopsis:

    geeknote find --search 
                    [--tags ]
                    [--notebooks ]
                    [--date ]
                    [--count ]
                    [--exact-entry]
                    [--content-search]
                    [--url-only]

    –search <text to find<
    Set the text you want to find. You can use “*” like this: –search “Shop*”
    –tags <list of tags that notes should have<
    Filter by tag. It makes possible to search notes, that have necessary tags. Tags can be separated with comma.
    –notebooks <list on notebooks where to make search<
    Search just in notebook/notebooks you need. The list of notebooks specify by comma.
    –date Filter by date. You can set a singl date: dd.mm.yyyy, or date range: dd.mm.yyyy-dd.mm.yyyy
    –count <how many results to show<
    Limits the number of displayed results.
    –exact-entry By default Geeknote has a Smart Search, so it searches not exact entries. But if you need Exact entry, you can set this option. It doesn’t take any arguments.
    –content-search find command searches by note’s title. If you want to search by note’s content – set this option. It doesn’t take any arguments.
    –url-only Show results as a list of URLs to the every note in Evernote’s web-client.
    Examples:

    geeknote find --search "How to patch Donald Duck" --notebooks "disneyland" --date 25.01.2099-25.11.2100
    geeknote find --search "Shop*" --content-search --notebooks "manual"
  7. For More Look into the Geeknote Documentation:

    Geeknote Onlined Docs
Share on Tumblr

Tags: , , , , , , , , , , , , , , , , , ,


Comments are disabled