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
cloud drive: cloud folder in local machine: test.txt test.txt
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.
How to avoid creating this duplicate file while renaming?