title: Get specific files vía SFTP by Regex - Bash Unix
body: <p>I need to transfer some files from server <strong>A</strong> to server <strong>B</strong>.</p>
  
  <p>The files located in server <strong>A</strong> that have to be transfered must acomplish with the following regular expression on their name:</p>
  
  <blockquote>
    <p><strong><code>'^\(Name_\)\?[A-Z0-9]\{12,13\}[0-9]\{6\}\(BN\|CT\|PL\|XC\|XF\).zip$'</code></strong></p>
  </blockquote>
  
  <p>Is there a way to apply a sftp command that help me only to transfer those files?</p>
  
  <p>I have tried to execute the get command using grep, but it doesnt work.</p>
  
  <p><em>Note: The process to be developed is located on server <strong>B</strong>.</em></p>
  
  <p>Regards</p>