title: Find & Xargs copy and rename via bash script
body: <p>I have a folder with images and I need to copy them elsewhere removing special chars in the progress.
  Lets say I have this</p>
  
  <pre><code>Folder1/ImageÑ%1.jpg
  Folder1/ImageÑ%1-70x70.jpg
  Folder1/ImageÑ%2.jpg
  Folder1/ImageÑ%2-70x70.jpg
  Folder1/ImageÑ%3.jpg
  Folder1/ImageÑ%3-100x100.jpg
  Folder1/ImageÑ%4.jpg
  Folder1/ImageÑ%4-100x100.jpg
  </code></pre>
  
  <p>And I want to copy just the files that doesn't have "-70x70" or "-100x100" in the name to Folder2 and be like this (without any special char):</p>
  
  <pre><code>Folder2/Image1.jpg
  Folder2/Image2.jpg
  Folder2/Image3.jpg
  Folder2/Image4.jpg
  </code></pre>
  
  <p>I've managed to copy the files, but I have no clue how to rename the files (and remove the special chars) in the same step. I think it's using SED but I can't figure out how.</p>
  
  <pre><code>find Folder1 -type f -regextype posix-extended \( ! -regex '.+\-[0-9]{2,4}x[0-9]{2,4}\.jpg' \) -print0 |  xargs -0 cp -p --target-directory=Folder2
  </code></pre>
  
  <p>Thanks!</p>