title: recursively use scp but excluding some folders
body: <p>Assume there are some folders with these structures</p>
  
  <pre><code>/bench1/1cpu/p_0/image/
  /bench1/1cpu/p_0/fl_1/
  /bench1/1cpu/p_0/fl_1/
  /bench1/1cpu/p_0/fl_1/
  /bench1/1cpu/p_0/fl_1/
  /bench1/1cpu/p_1/image/
  /bench1/1cpu/p_1/fl_1/
  /bench1/1cpu/p_1/fl_1/
  /bench1/1cpu/p_1/fl_1/
  /bench1/1cpu/p_1/fl_1/
  /bench1/2cpu/p_0/image/
  /bench1/2cpu/p_0/fl_1/
  /bench1/2cpu/p_0/fl_1/
  /bench1/2cpu/p_0/fl_1/
  /bench1/2cpu/p_0/fl_1/
  /bench1/2cpu/p_1/image/
  /bench1/2cpu/p_1/fl_1/
  /bench1/2cpu/p_1/fl_1/
  /bench1/2cpu/p_1/fl_1/
  /bench1/2cpu/p_1/fl_1/
  ....
  </code></pre>
  
  <p>What I want to do is to <code>scp</code> the following folders</p>
  
  <pre><code>/bench1/1cpu/p_0/image/
  /bench1/1cpu/p_1/image/
  /bench1/2cpu/p_0/image/
  /bench1/2cpu/p_1/image/
  </code></pre>
  
  <p>As you can see I want to recursively use <code>scp</code> but excluding all folders that name "fl_X". It seems that scp has not such option.</p>
  
  <p><strong>UPDATE</strong>
  scp has not such feature. Instead I use the following command</p>
  
  <pre><code> rsync -av --exclude 'fl_*' user@server:/my/dir
  </code></pre>
  
  <p>But it doesn't work. It only transfers the list of folders!! something like <code>ls -R</code></p>