title: Python shutil.move copies endlessly
body: <p>I made a script that reads pdf-files from a src-folder, gets some info from the file and then renames the file and moves it to another location.
  This is done every 5 seconds.</p>
  <p>Since the src and dest are on different disks I use shutil.move instead of os.rename.</p>
  <p>Because src and dest are on a different disk shutil.move wil instead copy and delete the source file.</p>
  <p>The script works fine, but sometimes there are problems with permissions in the source folder.
  This keeps the source file in the source folder and is copied endlessly because the source file can't get deleted.</p>
  <p>How can I work around this?  Since I don't keep the name of the original pdf-files I don't know how to solve this.</p>
  <p><a href="https://i.stack.imgur.com/l3VEg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l3VEg.png" alt="enter image description here" /></a></p>