summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/mvt
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-24 01:05:49 -0700
committerxyz <gky44px1999@gmail.com>2021-10-24 01:05:49 -0700
commit5997d1d96d92e389ca5e4301a7974f4b535a12d5 (patch)
tree5434bcf2507cec03d771a27d728bccad3cca7419 /home/xyz/.local/bin/mvt
parent1ecd63bf0fafdd5fad56f26326d939c66953f6d8 (diff)
refactor
Diffstat (limited to 'home/xyz/.local/bin/mvt')
-rwxr-xr-xhome/xyz/.local/bin/mvt6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/mvt b/home/xyz/.local/bin/mvt
new file mode 100755
index 00000000..1701ed93
--- /dev/null
+++ b/home/xyz/.local/bin/mvt
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# emulate mv -t, for more POSIX compliant
+dist="$1"
+shift
+mv -- "$@" "$dist"