How to grep a directory for a string, rewrite it to something else and save in bash? : <p>I have a bash script that does the following:</p>

<ul>
<li>Removes a CSS directory</li>
<li>Copies over new SASS from source</li>
<li>Runs gulp task to generate CSS again</li>
</ul>

<p>After I copy the SASS over, I would like to do the following before generating CSS again:</p>

<p>Find any occurrence of <code>('/assets</code> and change it to <code>('/themes/custom/mytheme/assets</code> in any of the files in the SASS directory.</p>

<p>How can I do that?</p>
