title: Using regex and pscp on AIX servers
body: <p>I've been having lots of troubles using pscp and regex on <strong>AIX server</strong>.</p>
  <p>As you can see, I am trying to use <strong>Putty's pscp</strong> to transfer file &quot;<strong>stdout</strong>&quot; to my local folder.</p>
  <p>This usually works fine, but my problem is that I won't know exact same folder name so I need to use <em><strong>REGEX</strong></em>.</p>
  <p>I've been told that possibly my regex was written for <strong>grep</strong> and that it wasn't supported by <strong>pscp</strong>.</p>
  <p>What would be alternative then to write regex for <strong>pscp</strong>.</p>
  <p>Error message is: &quot;<em><strong>multiple-level wildcards unsupported</strong></em>&quot;</p>
  <pre><code>pscp.exe -P 22 -pw krt_345 testuser@testserver5:&quot;/app/log/s500/20201023/.\*/20201023-02\.2[0-9]\.[0-5][0-9]_s500_testuser.\*&quot;/stdout C:\logs
  </code></pre>
  <p>regex only:</p>
  <pre><code>&quot;/app/log/s500/20201023/.\*/20201023-02\.2[0-9]\.[0-5][0-9]_s500_testuser.\*&quot;/stdout
  </code></pre>