SuperB way to create new folders and files
SuperB MK (a.k.a mk
) is a SuperB files and folders creation tool written in portable sh
inspired by Advanced New File.
- Unix commands to process
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
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.
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
Special thanks to:
- Julian Marcos for porting this package to the AUR
- Advanced New File by Andros Fenollosa
Made with โค๏ธ by NNB