mtt/README.md

20 lines
616 B
Markdown
Raw Normal View History

2025-02-17 22:53:25 +09:00
# mtt(multitool)
A multi-tool that performs various operations on files within a directory. Currently, it supports the following features.
## Usage
`npm insatll -g @riq0h/mtt`
## `mtt -r`
Bulk renames filenames within a directory. When launched, `$EDITOR` is called, allowing you to flexibly edit with any editor.
## `mtt -c`
Compresses individual files within a directory. If no filenames are specified, all files will be targeted.
## `mtt -i <files...> -p <value>`
Resizes image files (`.jpg`, `.jpeg`, `.png`, `.gif`, `.webp`) within a directory. The `-p` option is required to specify the resize ratio.