rwx/sh/alias/chmod.sh

26 lines
278 B
Bash
Raw Normal View History

2025-07-27 20:49:16 +02:00
# chmod
# change mode
#| chmod
#= cm
rwx_change_mode() {
chmod \
"${@}"
}
# change mode to directory
2025-07-06 19:12:38 +02:00
#= cmd
2025-07-27 20:49:16 +02:00
rwx_change_mode_directory() {
rwx_change_mode \
"755" \
"${@}"
}
# change mode to file
2025-07-06 19:12:38 +02:00
#= cmf
2025-07-27 20:49:16 +02:00
rwx_change_mode_file() {
rwx_change_mode \
"644" \
"${@}"
}