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/mkOption 2: using git
git clone https://github.com/NNBnh/mk.git ~/.local/share/mk
ln -s ~/.local/share/mk/bin/mk ~/.local/bin/mkFor Arch-Linux base distro, install this AUR package:
paru -Sy superbfetch-gitFor Bpkg user:
bpkg install NNBnh/mkFor Basher user:
basher install NNBnh/mkNote If you can and want to port SuperB MK to other package managers, feel free to do so.
Run 'mk' in the terminal:
mk ITEMSExamples:
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
β
ββ testSpecial thanks to:
- Julian Marcos for porting this package to the AUR
- Advanced New File by Andros Fenollosa
Made with β€οΈ by NNB