That's more complex, a lot of paths have space in them, I suggest asking the user for a new path/file to sync in once single looping question, until he just hits enter.

If you feel it's too complex, feel free to split this code in another dedicated PR.
The smaller the PRs the easier they'll be merged ;)