title: bash rsync can't find directory with spaces
body: <p>I am trying to make a backup script and the problem is that it can't find the directory that has spaces in it. </p>
  
  <p>Code for bash script.</p>
  
  <pre><code>#!/bin/bash
  
  Desk="/Users/elev/Desktop/"
  
  include_paths=(
      "${Desk}/Skola"
      "${Desk}/music"
      "${Desk}/jobb"
      # not working directory
      "${Desk}/programmering\ skola"
  
  )
  
  # ${include_paths[@]} means every value in the list
  for item in "${include_paths[@]}"
  do
      include_args="${include_args} ${item}"
  
  done
  
  DestPath="/Volumes/Atheer/backup"
  
  rsync -av --delete ${include_args} $DestPath
  </code></pre>
  
  <p>as you can see I have tried to use backslash and space, still it doesn't work. I get the following error code <strong>rsync: link_stat "/Users/elev/Desktop/programmering\" failed: No such file or directory</strong> 
  I would like it to backup directories that have spaces in them too. I appreciate the help</p>