diff options
author | xyz <gky44px1999@gmail.com> | 2021-09-09 23:55:59 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-09-09 23:55:59 -0700 |
commit | cdcdb977280d1acaae130a3937b3e85b67623b87 (patch) | |
tree | 9decd14ae051cf63093edf68dfb5109919449ad0 /.local/bin/chmodef | |
parent | 2b69161bbee641bf1ae339febc74617ed6407e2e (diff) |
find change --execdir to --exec, --execdir not posix compliant?
Diffstat (limited to '.local/bin/chmodef')
-rwxr-xr-x | .local/bin/chmodef | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/chmodef b/.local/bin/chmodef index be9b2934..6836effd 100755 --- a/.local/bin/chmodef +++ b/.local/bin/chmodef @@ -1,5 +1,5 @@ #!/bin/sh # https://wiki.archlinux.org/title/File_permissions_and_attributes#Numeric_method -find "$@" -type d -execdir chmod 755 -- '{}' \+ -find "$@" -type f -execdir chmod 644 -- '{}' \+ +find "$@" -type d -exec chmod 755 -- '{}' \+ +find "$@" -type f -exec chmod 644 -- '{}' \+ |