title: Getting a partial path to a file in a bash script
body: <p>I have a path that is stored in a variable</p>
  
  <p>$FULLPATH="/this/is/the/path/to/my/file.txt"</p>
  
  <p>I also have another variable containing a partial path</p>
  
  <p>$PARTIAL="/this/is/the/"</p>
  
  <p>I want to remove the partial path from the full path so that I am left with:</p>
  
  <p>path/to/my/file.txt</p>
  
  <p>What's the best way to do this?</p>