Skip to content

Handle exclude files by moving them before sync

Because of unsolved #1, I propose this strategy:

  • Move excluded files to a temporary folder
  • Sync
  • Move back excluded files

Major difficulty: need to do both moves with R, so first move in set_sync and move back in check_sync.

So in case of interrupted operation, the move back should occur after sync even if no move has been done.