From bb83945623fa6cef6c195c98a7776f45974c006c Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 17 Oct 2021 15:39:52 -0700 Subject: move work-tree to /, delete mods files, addd cfgL --- home/xyz/.local/bin/chmodef | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 home/xyz/.local/bin/chmodef (limited to 'home/xyz/.local/bin/chmodef') diff --git a/home/xyz/.local/bin/chmodef b/home/xyz/.local/bin/chmodef new file mode 100755 index 00000000..be9b2934 --- /dev/null +++ b/home/xyz/.local/bin/chmodef @@ -0,0 +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 -- '{}' \+ -- cgit v1.2.3-70-g09d2