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

15 lines
244 B
Bash

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