https://github.com/jee-vim/jmf
A simple CLI tool for manipulation file at once
https://github.com/jee-vim/jmf
cli manipulation-files scripting zig
Last synced: 8 months ago
JSON representation
A simple CLI tool for manipulation file at once
- Host: GitHub
- URL: https://github.com/jee-vim/jmf
- Owner: Jee-vim
- License: gpl-3.0
- Created: 2025-09-08T00:37:26.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-21T01:05:54.000Z (9 months ago)
- Last Synced: 2025-09-21T02:36:05.979Z (9 months ago)
- Topics: cli, manipulation-files, scripting, zig
- Language: Zig
- Homepage:
- Size: 5.99 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
## Add prefix "new-" to all files
```bash
mf -a "new-"
file1.txt -> new-file1.txt
file2.txt -> new-file2.txt
```
## Remove substring "old-" from all files
```bash
mf -r "old-"
old-file1.txt -> file1.txt
old-file2.txt -> file2.txt
```
## Combine: remove "old-" and add "test-" in one go
```bash
mf -a "test-" -r "old-"
old-file1.txt -> test-file1.txt
old-file2.txt -> test-file2.txt
```
____
# TODO
- ~~adding new name to all files~~
- ~~remove specific name in all files~~
- option transform to lowercase
- option change filename that have spaces to (-) or (_)
- distribution across os