mirror of
https://github.com/rclone/rclone.git
synced 2026-10-10 06:55:45 -04:00
The Internxt API serves listings from read replicas which lag behind writes, so for a short while after files or directories are moved or deleted they can still be listed in their old location. This caused removing a directory which had just been emptied to fail with "directory not empty" (eg when moving a directory without server side directory moves or purging a directory) and a directory which had just been moved to be found in its old location. Remember the directories this process has moved or deleted and ignore directory and file entries which contradict that when listing, finding directories and checking a directory is empty before removing it.