Home

Awesome

Cerebro Linux/MacOS file and folder search

Cerebro plugin to locate files and folders in system

https://raw.githubusercontent.com/lucky125111/cerebro-search-linux/master/folder.gif

Prerequisites

This tool requires locateit indexes files which provides fast search results.

Debian and Ubuntu

sudo apt-get install locate

Prepare locate command for first use

To update the mlocate.db database before first use, run:

sudo updatedb

Installation

The plugin is avaialable on npm

To add plugin

  1. Go to you cerebro folder typically $XDG_CONFIG_HOME/Cerebro/ or ~/.config/Cerebro/
  2. cd ./plugins
  3. yarn add cerebro-file-search-locate

To run locally use

git clone https://github.com/lucky125111/cerebro-file-search.git
yarn install 
yarn start

Usage

In Cerebro, type file name or path of path to look for. Currently the file search will show only first 100 results. Clicking the file will reveal it in the folder explorer

Features

Remark

This plugin is only available on Linux and MacOS, since Windows doesn't have locate package

Related

TODO's

  1. Prefered folders to be shown at the beginning of the list
  2. Reveal in explorer on ctrl+enter, open on enter
  3. Separate list of folders excluded from search to separate file
  4. Support for regular expressions