title: Script to download, gunzip merge files and gzip the fil again?
body: <p>My script skills are really limited so I wonder if someone here could help me. I would like to download 2 files, run gunzip, run a command called tv_merge and then gzip the new file. Here's what I Would like to be run from a script.</p>
  
  <p>I would like to download two files (.gz) with wget:</p>
  
  <pre><code>wget -O /some/where/file1.gz http://some.url.com/data/
  wget -O /some/where/file2.gz http://some.url.com/data/
  </code></pre>
  
  <p>Then gunzip the 2 files: </p>
  
  <pre><code>gunzip /some/where/file1.gz
  gunzip /some/where/file2.gz
  </code></pre>
  
  <p>After that run a command called Tv_merge:</p>
  
  <pre><code>tv_merge -i /some/where/file1 -m /some/where/file2 -o newmaster.xml 
  </code></pre>
  
  <p>After tv_merge. I would like to gzip the file:</p>
  
  <pre><code>gzip newmaster.xml
  </code></pre>
  
  <p>I would like to run all these commands in that order from a script, and I would like to put that to be run let's see every 8h like a crontab.</p>