title: why rsync not working in bash?
body: <p>I've got real simple rsync bash file looking like this :</p>
  
  <pre><code>#!bin/bash
  rsync -avh --exclude={"/media/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/lost+found/*"}  / /my/backup/path
  </code></pre>
  
  <p>but the problem is when i do :</p>
  
  <pre><code>sh mybash.sh
  </code></pre>
  
  <p>It forgot that i have some excluding to do and it backup every thing. the funniest of all is when i do :</p>
  
  <pre><code>rsync -avh --exclude={"/media/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/lost+found/*"}  / /my/backup/path
  </code></pre>
  
  <p>In command line it consider my exclusion.</p>
  
  <p>I need to put the bash in crontab but for this reason i can't.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>My OS is Debian wheezy.</p>