summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.local/bin')
-rwxr-xr-xhome/xyz/.local/bin/chmodef1
-rwxr-xr-xhome/xyz/.local/bin/mvt2
2 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/chmodef b/home/xyz/.local/bin/chmodef
index be9b2934..446bc230 100755
--- a/home/xyz/.local/bin/chmodef
+++ b/home/xyz/.local/bin/chmodef
@@ -1,4 +1,5 @@
#!/bin/sh
+# chmodef: CHMOD DEFault
# https://wiki.archlinux.org/title/File_permissions_and_attributes#Numeric_method
find "$@" -type d -execdir chmod 755 -- '{}' \+
diff --git a/home/xyz/.local/bin/mvt b/home/xyz/.local/bin/mvt
index d324856a..eefc19b0 100755
--- a/home/xyz/.local/bin/mvt
+++ b/home/xyz/.local/bin/mvt
@@ -1,6 +1,6 @@
#!/bin/sh
-
# emulate mv -t, for use with `find ... -exec mvt ... '{}' \+`, more POSIX compliant
+
dist="$1"
shift
mv -- "$@" "$dist"