Crates.io | mkmk |
lib.rs | mkmk |
version | 0.1.1 |
source | src |
created_at | 2023-01-06 10:43:20.576157 |
updated_at | 2023-01-06 17:54:32.549861 |
description | `mkdir -p` and `touch` |
homepage | |
repository | https://github.com/seijinrosen/mkmk |
max_upload_size | |
id | 752235 |
size | 69,689 |
mkmk is mkdir -p
and touch
.
cargo install mkmk
touch aaa/bbb/ccc.txt
# touch: aaa/bbb/ccc.txt: No such file or directory
# but...
mkmk aaa/bbb/ccc.txt
# A folder named "aaa/bbb" will be created, followed by a file named "ccc.txt".
# Equivalent to:
# mkdir -p aaa/bbb && touch aaa/bbb/ccc.txt
mkmk ddd.txt eee.txt fff/ggg.txt
# Multiple paths are OK
# Other commands
mkmk --help
mkmk --version