Linux

Shell Script 폴더 없으면 생성하기

nineDeveloper 2021. 7. 9. 15:24
728x90
mkdir -p dir

OR

if [ ! -d $dir ]; then
    mkdir $dir
fi
728x90