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