sh/shell/alias/chmod.sh
2024-11-16 14:03:13 +01:00

13 lines
126 B
Bash

# change mode as directory
cmd() {
chmod \
"755" \
"${@}"
}
# change mode as file
cmf() {
chmod \
"644" \
"${@}"
}