stephenh / mirror

A tool for real-time, two-way sync for remote (e.g. desktop/laptop) development
Apache License 2.0
391 stars 37 forks source link

Deleting a directory hierarchy leaves empty directory #49

Open stephenh opened 4 years ago

stephenh commented 4 years ago

If you rm -fr foo/ where foo/ is a tree of foo/bar/zaz.txt, the remote side's deleting of zaz.txt will tick it's timestamp of foo/bar and so make it think that it's foo/bar are newer than the remote's foo/, and it will re-send mkdir foo/bar back to the remote side.