title: deleting the files thru shell
body: <p>I am new to shell programming.
  Basically, I wrote a small script which cleans certain file types in that particular folder when executed:</p>
  
  <pre><code>#!/bin/bash
  echo "cleaning temp extensions "
  find -type f -name '*.pyc' -exec rm -f {} ';' 
  find -type f -name '.*.swp' -exec rm -f {} ';'
  find -type f -name '*~' -exec rm -f {} ';'
  echo "files cleaned!!"
  </code></pre>
  
  <p>But now, I want clean all the files from the folders where this shell script is present.</p>
  
  <p>So for example if I have something like</p>
  
  <pre><code> folderA/  folderB/ folderC/   clean.sh
  </code></pre>
  
  <p>WHen I run this clean.sh it deletes all the file types in folderA folderB and folder C
  What modification should I make in this script?
  Thanks.</p>