title: Check that two file exists in UNIX Directory
body: <p>Good Morning,</p>
  
  <p>I am trying to write a korn shell script to look inside a directory that contains loads of files and check that each file also exists with .orig on the end.</p>
  
  <p>For example if a file inside the directory is called 'mercury_1' there must also be a file called 'mercury_1.orig'</p>
  
  <p>If there isn't, it needs to move the mercury_1 file to another location. However if the .orig file exists do nothing and move onto the next file.</p>
  
  <p>I am sure it is really simple but I am not that experienced in writing Linux scripts and help would be greatly appreciated!!</p>