#filename #shell #cli

bin+lib qesp

Tool to remove annoying characters of names in a directory

6 releases

0.2.4 Jul 1, 2020
0.2.3 Jul 1, 2020
0.2.2 Apr 18, 2020
0.2.0 Mar 28, 2020
0.1.0 Mar 22, 2020

#15 in #filenames

MIT license

7KB
75 lines

qesp

Build Status Build Status

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 from crates.io.

cargo install qesp

Installing from source

Just clone the repository and install it with cargo. For instance:

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 and put in under your PATH. For instance:

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 <pattern>    annoying characters to be removed [default: [ ()]]

ARGS:
    <dir>    Target directory [default: .]

"Annoying characters"

Space and parenthesis.

Dependencies

~4–5.5MB
~102K SLoC