title: Split string by a character(like ".","-" etc) and create directories in SHELL SCRIPT
body: <p>I have a string like <code>"abc.def.ghi.Hello"</code>
  I want to write a shell script that creates folders structure like <code>abc/def/ghi/</code> and stores Hello in a new variable.</p>
  
  <p>Thanks </p>