/mk

๐Ÿ“„ SuperB way to create new folders and files

Primary LanguageShellGNU General Public License v3.0GPL-3.0

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