Skip to content

Instantly share code, notes, and snippets.

@y2k-shubham
Created September 26, 2018 06:01
Show Gist options
  • Save y2k-shubham/84a7de710c0606fc5c94f89777a0bf18 to your computer and use it in GitHub Desktop.
Save y2k-shubham/84a7de710c0606fc5c94f89777a0bf18 to your computer and use it in GitHub Desktop.
Create non-existent sub-directories using Bash
#/bin/sh
# create directories
mkdir -p /{main,test}/{resources,scala/com/zomato}
mkdir -p {nonsvn,project,target}
# create build.sbt file
echo '
name := "ProjectName"
version := "1.0"
scalaVersion := "2.12.4"
' > build.sbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment