sunlinjin / fsearch

A fast file search utility for Unix-like systems based on GTK+3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Translation status

FSearch is a fast file search utility, inspired by Everything Search Engine. It's written in C and based on GTK3.

Note: The application is still in beta stage

Features

  • Instant (as you type) results
  • Wildcard support
  • RegEx support
  • Filter support (only search for files, folders or everything)
  • Include and exclude specific folders to be indexed
  • Ability to exclude certain files/folders from index using wildcard expressions
  • Fast sort by filename, path, size or modification time
  • Customizable interface (e.g., switch between traditional UI with menubar and client-side decorations)

Requirements

  • GTK 3.18
  • GLib 2.44
  • glibc 2.19 or musl 1.1.15 (other C standard libraries might work too, those are just the ones I verified)
  • PCRE (libpcre)
  • ICU 3.8

Download

Arch Linux (AUR)

https://aur.archlinux.org/packages/fsearch-git/

Fedora/RHEL/CentOS

Copr build status

https://copr.fedorainfracloud.org/coprs/cboxdoerfer/fsearch_nightly/

copr Installation
sudo dnf copr enable cboxdoerfer/fsearch_nightly
sudo dnf install fsearch

NixOS (unofficial)

https://search.nixos.org/packages?channel=unstable&show=fsearch&query=fsearch

openSUSE (unofficial)

https://software.opensuse.org/download.html?project=home%3AAsterPhoenix13&package=fsearch

Ubuntu

Daily Development Builds PPA

https://launchpad.net/~christian-boxdoerfer/+archive/ubuntu/fsearch-daily

PPA Installation
sudo add-apt-repository ppa:christian-boxdoerfer/fsearch-daily
sudo apt-get update
sudo apt install fsearch-trunk

Roadmap

https://github.com/cboxdoerfer/fsearch/wiki/Roadmap

Build Instructions

https://github.com/cboxdoerfer/fsearch/wiki/Build-instructions

Localization

The localization of FSearch is managed with Weblate.

https://hosted.weblate.org/projects/fsearch/

If you want to contribute translations please submit them there, instead of opening pull requets on GitHub. Instructions can be found here: https://docs.weblate.org/en/latest/user/basic.html

And of course: Thank you for taking the time to translate FSearch!

Current Limitations

  • Sorting lots of results by Type can be very slow, since gathering that information is expensive, and the data isn't indexed. This also means that when the view is sorted by Type, searching will reset the sort order to Name.
  • Sorting can't be aborted. This is usually not an issue, because it's very fast for all columns except the Type column.
  • Using the Move to Trash option doesn't update the database index, so trashed files/folders show up in the result list as if nothing happend to them.

Why yet another search utility?

Performance. On Windows I really like to use Everything Search Engine. It provides instant results as you type for all your files and lots of useful features (regex, filters, bookmarks, ...). On Linux I couldn't find anything that's even remotely as fast and powerful.

Before I started working on FSearch, I took a look at existing solutions. I tried MATE Search Tool (formerly GNOME Search Tool), Recoll, Krusader (locate based search), SpaceFM File Search, Nautilus, ANGRYsearch and Catfish, to find out whether it makes sense to improve those. However, they're not exactly what I was looking for:

  • standalone application (not part of a file manager)
  • written in a language with C like performance
  • no dependencies to any specific desktop environment
  • Qt5 or GTK3 based
  • small memory usage (both hard drive and RAM)
  • target audience: advanced users

Looking for a command line interface?

I highly recommend fzf or the obvious tools: find and (m)locate

Why GTK3 and not Qt5?

I like both of them, and my long term goal is to provide console, GTK3 and Qt5 interfaces, or at least make it easy for others to build those. However, for the time being it's only GTK3 because I like C more than C++, and I'm more familiar with GTK development.

Questions?

Email: christian.boxdoerfer[AT]posteo.de

About

A fast file search utility for Unix-like systems based on GTK+3

License:Other


Languages

Language:C 90.0%Language:M4 5.2%Language:Shell 3.2%Language:Meson 0.6%Language:Makefile 0.6%Language:CSS 0.2%Language:Roff 0.2%