title: Bash find and move files with '[ ]' in name
body: <p>Part of a bash script I'm making involves rar splitting files and then moving the split files to another directory once they are done.  </p>
  
  <p>So if I have a file like "test file.txt", it would first get rarred to "[test] file.txt.part1.rar", "test file.txt.part2.rar", and then both of the rar's would get moved to another directory.</p>
  
  <p>I have the rar bit working fine, but i'm having trouble on the find &amp; move.</p>
  
  <p>Here's my script:</p>
  
  <pre><code>#!/bin/bash
  
  # [...]    
  
  rar a -m0 -v104857600b "$1.rar" "$1";
  
  find $folder -name "$1.part*" -exec mv {} $someotherfolder \;
  </code></pre>
  
  <p>However it doesn't seem to be working. I've tested that find one liner from the shell and I'm guessing the problem is because the files have parenthesis in the names -> "[" and "]"  </p>
  
  <p>What do you guys think?</p>