"Jacob Read" <23*7*9*
6@s*u*e*t*u*a*e*u*a*> wrote:
> If the program is syncing both files and directories (so it's being called recursively), what happens if in one directory a file is called "thing1", but in another directory, a sub-directory is called "thing1" as well. Obviously these can't be directly synced with each other, as you would do with files by just comparing last edited time. And they can't both be synced separately, as files and directories can't be named the same thing. What should occur in this circumstance? Should the most recent version just override the other and delete the other occurence? So if the file with the name "thing1" was made most recently, the directory would be deleted. Or would this be skipped somehow, so "thing1" just isn't synced as a file or directory?
Nothing gets deleted in the project.
We are syncing files, either from the top-level directories or sub-directories if using -r.
We are not actually syncing directories, or their contents, but (as a side-effect) will need to create corresponding directories when syncing files.