MWYang / google-drive-workflow

Alfred Workflow for Google Drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icon Google Drive Alfred Workflow

List File Stream contents from Google Drive

Instructions

An interim Workflow to bridge the gap until (if) Google Drives fixes the situation of files not being indexable by Spotlight (and thus Alfred).

Before your first use, run :gdlaunchd and wait for the notification. The more files you have, the longer the wait. It can take several minutes to finish building the cache. A macOS launchd agent will be loaded to do it daily (running :gdlaunchd again removes it).

To rebuild the cache on demand, do :gdrebuildcache.

When done, call gd and type to filter the contents of your Google Drive. gdf limits the search to directories. Use ↵ to open the path, ⌥↵ to reveal it in the Finder, or ⇧↵ to search it in the web browser.

The Workflow Environment Variables have defaults which will work for most. You only have to mess with them if you have an atypical setup.

  • google_drive_path: The location of Google Drive on your file system. Can take multiple paths separated by commas.
  • ignore_list: A comma-separated list of keywords to ignore. If any appears in a path, it will not be saved to your cache.
  • result_limit: How many entries to show in Alfred.

Download

Get the latest release.

License

3-Clause BSD

About

Alfred Workflow for Google Drive

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 100.0%