Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Vvedite imya directorii"
- read dirname
- echo "Vvedite path"
- read dirpath
- $1 = DIR
- if [ ! -d "$DIR" ]; then
- mkdir ~/$dirpath/$dirname
- else
- dirname = "${dirname}1"
- mkdir ~/$dirpath/$dirname
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement