frust is a find replacement with SQL-like syntax.

Note: frust has a pre-alpha status and has a lot of bugs, issues and missing features. We are grateful for every opened issue, pull request or idea. Additionally this project was written while learning a good part of the Rust programming language. Hence the quality of code will hopefully improve while learning more about Rust.

Installation

Install from source

Clone the repository to a desired location and then compile the binary with

cargo build --release

and move the executable somewhere on $PATH, for example

cp ./target/release/frust $HOME/bin

Download binary

Alternatively check the releases on the github project for binaries of newer or older releases.

To check that the signature is correct and the binary was not altered in any way, import my public key

gpg --keyserver pgp.mit.edu --recv 35233ACB

and execute

gpg --verify frust-v0.0.1.sign frust-v0.0.1

to verify the signature of the binary.

Pre-build packages

Currently we only build packages for Fedora

Introduction to frust

Introduction to frust The basic syntax of frust follows a SQL-like query syntax frust "[attributes] from [directories] where [filter expression] exec [command];" The semicolon at the end of the query is optional and, if not present, gets appended automatically. All parts of the query are optional too, e.g. the following queries are also possible frust "where [filter expression];" frust "[attributes] where [filter expression] exec [command];" frust "exec [command];" The missing parts are filled with defaults which resemble the behaviour of the original find command. [Read More]