title: bash: Find files and rsync but ignore in use/open files
body: <p>I have a script that finds files of certain criteria and then syncs to <code>/syncDir/</code>. I've run into an problem with the following script for files being in use at the time of processing. </p>
  
  <pre><code>find -type f \( -name '*.xml' -o -name '*.properties' \) -exec rsync -zarvm {} /syncDir/ \;
  </code></pre>
  
  <p>How can I enhance the script to ignore files in use/open at the time of processing?</p>