📄 mkdirs
字号:
#!/bin/sh
######################################################################
#
# mkdirs - This shell script accepts a list of filenames on the
# command line and creates all the directories listed in the file
# names. This script is particularly useful for Makefiles that need
# to create directory trees for object files.
#
######################################################################
for file in $*
do
dir=`dirname ${file}`
if [ ! -d ${dir} ]
then
mkdir -p ${dir}
echo Creating ... ${dir}
fi
done
exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -