Crates.io | rew |
lib.rs | rew |
version | 0.3.0 |
source | src |
created_at | 2020-12-09 02:27:44.03534 |
updated_at | 2021-03-29 17:38:00.503559 |
description | A text processing CLI tool that rewrites FS paths according to a pattern. |
homepage | |
repository | https://github.com/jpikl/rew |
max_upload_size | |
id | 320988 |
size | 413,008 |
A text processing CLI tool that rewrites FS paths according to a pattern.
Input values are assumed to be FS paths, however, rew
is able to process any UTF-8 encoded text.
find -iname '*.jpeg' | rew 'img_{C}.{e|l|r:e}'
Rew is also distributed with two accompanying utilities (mvb
and cpb
) which move/copy files and directories, based on rew
output.
find -iname '*.jpeg' | rew 'img_{C}.{e|l|r:e}' -d | mvb
Rew is licensed under the MIT license.