heckmv

Crates.ioheckmv
lib.rsheckmv
version1.0.1
sourcesrc
created_at2024-01-18 06:58:27.823466
updated_at2024-01-18 07:10:11.181503
descriptionA basic case-conversion renaming CLI tool.
homepage
repositoryhttps://github.com/kyllingene/heckmv
max_upload_size
id1103885
size9,693
(Kyllingene)

documentation

README

heckmv

Converts case while renaming files and directories. Provides all the cases that heck does, while adding three: UPPERCASE, lowercase (those two ignore word breaks), and Sentence case.

The case is selected via -c/--case. Note the following guidelines:

  • Do not append case to your selection, e.g. kebab not kebab-case
  • Casing and non-alphabetic characters are ignored, Sen-TENCE == sentence
  • The shouty cases acknowledge the following forms:
    • shouty_CASE: shoutysnake
    • shout_CASE : shoutsnake
    • upper_CASE: uppersnake

Usage:

heckmv [options] <files...>
  -r/--recursive    : recurse into directories
  -d/--include-dirs : also rename directories
  -c/--case <case>  : specify the case (required)
  -h/--help         : show this help message

Renames files using the Rust `heck` crate for
most casing conversions. Available cases:
    UPPERCASE : ignores word breaks
    lowercase : ignores word breaks
    Title Case
    Sentence case

    UpperCamelCase
    lowerCamelCase
    snake_case
    kebab-case
    SHOUTY_SNAKE_CASE
    SHOUTY-KEBAB-CASE
    Train-Case
Commit count: 0

cargo fmt