Skip to content

NNBnh/mk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MK

SuperB way to create new folders and files

License: GPL-3.0 Development completed

πŸ’‘ About

SuperB MK (a.k.a mk) is a SuperB files and folders creation tool written in portable sh inspired by Advanced New File.

πŸš€ Setup

🧾 Dependencies

πŸ“₯ Installation

πŸ”§ Manually

Option 1: using curl

curl https://raw.githubusercontent.com/NNBnh/mk/main/bin/mk > ~/.local/bin/mk
chmod +x ~/.local/bin/mk

Option 2: using git

git clone https://github.com/NNBnh/mk.git ~/.local/share/mk
ln -s ~/.local/share/mk/bin/mk ~/.local/bin/mk

πŸ“¦ Package manager

For Arch-Linux base distro, install this AUR package:

paru -Sy superbfetch-git

For Bpkg user:

bpkg install NNBnh/mk

For Basher user:

basher install NNBnh/mk

Note If you can and want to port SuperB MK to other package managers, feel free to do so.

⌨️ Usage

Run 'mk' in the terminal:

mk ITEMS

Examples:

mk file.txt folder/ {foo,bar}/{'hello world'/{1,2,3},test}

Result:

~/
β”œβ”€ file.txt
β”‚
β”œβ”€ folder/
β”‚
β”œβ”€ foo/
β”‚ β”œβ”€ hello world/
β”‚ β”‚ β”œβ”€ 1
β”‚ β”‚ β”œβ”€ 2
β”‚ β”‚ └─ 3
β”‚ β”‚
β”‚ └─ test
β”‚
└─ bar/
  β”œβ”€ hello world/
  β”‚ β”œβ”€ 1
  β”‚ β”œβ”€ 2
  β”‚ └─ 3
  β”‚
  └─ test

πŸ’Œ Credits

Special thanks to:






Made with ❀️ by NNB

Buy Me a Coffee