title: What is the syntax for excluding files with a certain extension using Bamboo SCP task?
body: <p><a href="https://i.stack.imgur.com/HwjH6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HwjH6.png" alt="SCP task"></a></p>
  
  <p>I want to copy all local files except the coffeescript files. I've tried using Ant syntax but I think that only works for include, not exclude or regex. I've tried with a unix glob as well, which works in Bash but fails in Bamboo: </p>
  
  <p><code>for f in **/*.!(coffee); do echo "Processing $f file.."; done</code></p>
  
  <p>What is the syntax for excluding files by extension in Bamboo's SCP task? </p>