Skip to content

lucky125111/cerebro-file-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Typically files will by searched by only file name
  • If you include '/' paths will be searched
  • On click the file will be shown in window explorer
  • Use your keyboard to navigate the entire interface. Intuitive and does what you expect

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

About

Cerebro plugin to locate files and folders in system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published