sh/shell/alias/chmod.sh

14 lines
126 B
Bash
Raw Normal View History

2023-05-09 20:02:34 +00:00
# change mode as directory
2024-11-16 13:03:13 +00:00
cmd() {
chmod \
"755" \
"${@}"
}
2023-05-09 20:02:34 +00:00
# change mode as file
2024-11-16 13:03:13 +00:00
cmf() {
chmod \
"644" \
"${@}"
}