normie

Crates.ionormie
lib.rsnormie
version1.0.2
sourcesrc
created_at2021-07-20 20:26:55.640059
updated_at2024-05-14 20:38:39.27343
descriptionJust another filename normalizer tool.
homepage
repositoryhttps://github.com/ceca69ec/normie
max_upload_size
id425288
size13,628
(ceca69ec)

documentation

https://docs.rs/normie

README

normie

Just another filename normalizer tool.

Recursively normalize directories and filenames to Unix friendly standard.

No dependencies, really simple and fast.

Example

$ touch "B)E(T%T@E*R T*H*I&S W@A*Y#" "G)O(O%@D N*A*M&E@**#"
$ ls
'B)E(T%T@E*R T*H*I&S W@A*Y#'  'G)O(O%@D N*A*M&E@**#'
$ normie -lra .tgz *
$ ls
better_this_way.tgz  good_name.tgz

Help

normie 1.0.2

USAGE:
    normie [FLAG]... DIRECTORY_OR_FILE...

FLAGS:
    -a: Append the specified text at the end of the filename.
    -h: Show this help information.
    -i: Insert the specified text at the beginning of the filename.
    -l: Transform the resulting filename into all lowercase characters.
    -r: Remove these characters: '!"#$%&'()*+,/:;<=>?@[\]^`{|}~ªº'.
    -t: Interactively asks for confirmation of each action.
    -u: Transform the resulting filename into all uppercase characters.
    -v: Show information about the performed actions.

Installation

You have to install rust and a linker if you don't already have them.

$ cargo install normie

Warning

Use flag -t if you are insecure of the results.

Commit count: 10

cargo fmt