cweagans / docker-bg-sync

A container that syncs files between two configurable directories.
225 stars 39 forks source link

delete folder not sync from container to outside #27

Closed kangzhi2016 closed 4 years ago

kangzhi2016 commented 4 years ago

When I delete the folder in the container, it is not synchronized to the host computer. The folder on the host computer is always there.

kangzhi2016 commented 4 years ago

I see. SYNC_NODELETE_SOURCE (default: '1'): Set this variable to "0" to allow Unison to sync deletions to the source directory. This could cause unpredictable behaviour with your source files.