An open API service indexing awesome lists of open source software.

https://github.com/carrascomj/qesp

Rust binary crate to remove annoying characters from flle names
https://github.com/carrascomj/qesp

cli filename rust shell shell-script

Last synced: about 2 months ago
JSON representation

Rust binary crate to remove annoying characters from flle names

Awesome Lists containing this project

README

          

# qesp
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fcarrascomj%2Fqesp%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/carrascomj/qesp/goto?ref=master)
[![Build Status](https://img.shields.io/crates/v/qesp.svg)](https://crates.io/crates/qesp/)
[![](https://docs.rs/qesp/badge.svg)](https://docs.rs/qesp)

Rust binary crate to remove characters of all files in a directory. It supports recursive
walking through the tree.

## Installation
You can build it with [cargo](https://doc.rust-lang.org/cargo/) from
[crates.io](https://crates.io/crates/qesp/).

```shell
cargo install qesp
```

#### Installing from source
Just clone the repository and install it with cargo. For instance:

```shell
git clone https://github.com/carrascomj/qesp.git
cargo install --path qesp
```

#### But I don't want this cargo stuff...
Then download the perl script [qesp](https://github.com/carrascomj/qesp/blob/master/benchmarks/qesp)
and put in under your PATH. For instance:

```shell
wget https://raw.githubusercontent.com/carrascomj/qesp/master/benchmarks/qesp
mv qesp ~/.local/bin
```

## Usage
qesp 0.2.1
Remove annoying characters of names in a directory

USAGE:
qesp [FLAGS] [dir]

FLAGS:
-h, --help Prints help information
-r, --recursive recursively attempts to rename whole directory tree
-V, --version Prints version information

OPTIONS:
-p, --pattern annoying characters to be removed [default: [ ()]]

ARGS:
Target directory [default: .]

## "Annoying characters"
Space and parenthesis.