title: How the file renaming thing happens (backend) in cloud services?
body: <p>Does anybody has idea how cloud platforms like dropbox, googledrive do manage file renaming conflicts?
  Because when a file is renamed in the cloud drive in our local machine/cloud drive previous file will also sync along with the new file. which is</p>
  
  <p>cloud drive:          cloud folder in local machine:
  test.txt                test.txt</p>
  
  <p>when i rename test.txt in cloud drive it will be renamed and it will sync to the local machine. at the same time test.txt will sync from local machine to the cloud drive as new file.</p>
  
  <p>How to avoid creating this duplicate file while renaming?</p>