title: Linux SFTP MGET * then Delete after transfer
body: <p>I am running SFTP in Linux Ubuntu Server.</p>
  
  <p>After connecting i run the command <code>mget*</code></p>
  
  <p>this downloads everything in the folder every time.
  I want to either delete or rename the files so i don't re-download the same files again and again.</p>
  
  <p>is there some sort of command within mget to delete after successful download?
  I think i have seen it before but i cant find it now.</p>
  
  <p>is there perhaps a conad similar to "<code>for FILE</code>"... that will work over SFTP?</p>