summaryrefslogtreecommitdiff
path: root/.local/bin/shorts/mk
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-05-07 13:44:50 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-05-07 13:44:50 +0530
commite55ad8ca4f99fa024106d5695a55f9ac132d7b68 (patch)
treef8762e7ac43504841f3c14c20bd8f149c1cbc344 /.local/bin/shorts/mk
parent7df7120b1ae66ed0e9a7c6ed9b224ba44ea1d920 (diff)
updates
Diffstat (limited to '.local/bin/shorts/mk')
-rwxr-xr-x.local/bin/shorts/mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/shorts/mk b/.local/bin/shorts/mk
new file mode 100755
index 0000000..392320f
--- /dev/null
+++ b/.local/bin/shorts/mk
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# make a file in specified path
+
+mkdir -pv "$(dirname "$1")" && touch "$1"