mkdir
This commit is contained in:
parent
63efbb7028
commit
0f4bd2be85
1 changed files with 4 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
||||||
# make a directory
|
# make a directory
|
||||||
md() {
|
md() { sh_a__make_directory "${@}"; }
|
||||||
|
sh_a__make_directory() {
|
||||||
mkdir \
|
mkdir \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# make a directory after making its parents
|
# make a directory after making its parents
|
||||||
mdp() {
|
mdp() { sh_a__make_directory_parents "${@}"; }
|
||||||
|
sh_a__make_directory_parents() {
|
||||||
mkdir \
|
mkdir \
|
||||||
--parents \
|
--parents \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|
Loading…
Reference in a new issue