title: Linux shell script command - gzip
body: <p>I am having one shell script in Linux in which the output will be generated in .csv format.</p>
  
  <p>At the end of the script i am making this .csv to .gz format to reduce the space on my machine. 
  The file which is generated comes in this format Output_04-07-2015.csv</p>
  
  <p>The command which i have written to make it zip is:-gzip Output_*.csv</p>
  
  <p>But i am facing an issue that if the file already exists, then it should make the new file with that reported time stamp.
  Can anyone help me with it.?</p>