samschott / maestral

Open-source Dropbox client for macOS and Linux
https://maestral.app
MIT License
3.12k stars 64 forks source link

Renaming folder while downloading will mess things up #912

Open raffaem opened 1 year ago

raffaem commented 1 year ago
  1. Have a quite big remote folder, let's call it "A"
  2. Start to sync it with maestral
  3. While syncing, rename the folder on your local computer to "B"

Maestral will throw a lot of sync errors, and the "B" folder on your PC will be uploaded to Dropbox (so you will have the "A" folder, with full content, and the "B" folder, with the content synced up until when you renamed it)

samschott commented 1 year ago

Thanks for the report! This is indeed a tricky issue, I'll need to think about what the best behaviour would be here. Redirecting any running downloads to the new location may be possible, but could come with unintended consequences.