title: Renaming long file names in bulk
body: <p>I have file names like:</p>
  
  <pre><code>5_END_1033_ACAGTG_L002_R1_001.fastq.gz
  5_END_1033_ACAGTG_L002_R2_001.fastq.gz
  40_END_251_GTGAAA_L002_R1_001.fastq.gz
  40_END_251_GTGAAA_L002_R2_001.fastq.gz
  </code></pre>
  
  <p>I want something like:</p>
  
  <pre><code>END_1033_R1.fastq.gz
  END_1033_R2.fastq.gz
  END_251_R1.fastq.gz
  END_251_R2.fastq.gz
  </code></pre>
  
  <p>Are there good ways to rename these files in linux?</p>