rwx/sh/alias/chmod.sh
2024-11-19 09:17:14 +01:00

15 lines
248 B
Bash

# change mode to directory
cmd() { sa__change_mode_directory "${@}"; }
sa__change_mode_directory() {
chmod \
"755" \
"${@}"
}
# change mode to file
cmf() { sa__change_mode_file "${@}"; }
sa__change_mode_file() {
chmod \
"644" \
"${@}"
}