summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/mvt
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-30 01:03:47 -0700
committerxyz <gky44px1999@gmail.com>2021-10-30 01:03:47 -0700
commit27e8345502cb7c6f7e961c1a9b38fe1001486bb8 (patch)
tree07945df567f5556810c5baeed56ee7ff4504636c /home/xyz/.local/bin/mvt
parenta814d5a4e5d24f13e1832abd31428fdd5dab8e35 (diff)
improve mvt, use -- outside, so I can use -f or -i switch
Diffstat (limited to 'home/xyz/.local/bin/mvt')
-rwxr-xr-xhome/xyz/.local/bin/mvt3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/mvt b/home/xyz/.local/bin/mvt
index eefc19b0..318edf69 100755
--- a/home/xyz/.local/bin/mvt
+++ b/home/xyz/.local/bin/mvt
@@ -3,4 +3,5 @@
dist="$1"
shift
-mv -- "$@" "$dist"
+# not use -- here, use -- when use mvt, so I can specify -f or -i switch before -- when use mvt
+mv "$@" "$dist"