Skip to content

Instantly share code, notes, and snippets.

@otera
Created February 28, 2020 06:44
Show Gist options
  • Save otera/b26f8fed6bff69f2cb8f2d01e4646b43 to your computer and use it in GitHub Desktop.
Save otera/b26f8fed6bff69f2cb8f2d01e4646b43 to your computer and use it in GitHub Desktop.
フォルダ作成シェル
#!/bin/sh
read -p "作成するフォルダ数を入力してください。: " num
for looop in `seq $num`
do
echo "フォルダ「No.${looop}」の作成.."
mkdir -p "No.$looop"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment