mv
This commit is contained in:
parent
39ef73fbfe
commit
e5620aab3f
1 changed files with 0 additions and 0 deletions
25
sh/io/chmod.sh
Normal file
25
sh/io/chmod.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
# chmod
|
||||
|
||||
# change mode
|
||||
#| chmod
|
||||
#= cm
|
||||
rwx_change_mode() {
|
||||
chmod \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# change mode to directory
|
||||
#= cmd
|
||||
rwx_change_mode_directory() {
|
||||
rwx_change_mode \
|
||||
"755" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# change mode to file
|
||||
#= cmf
|
||||
rwx_change_mode_file() {
|
||||
rwx_change_mode \
|
||||
"644" \
|
||||
"${@}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue