cweagans / docker-bg-sync

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

Ignore *.swp files by default #12

Closed leymannx closed 6 years ago

leymannx commented 6 years ago

Having set SYNC_PREFER=newer a lot of *.swp files tend to appear on the host volume after you edit a file inside the container. Let's exclude them by default.

Referring Stack question and answer: https://superuser.com/questions/569176/how-to-make-unison-ignore-all-files-with-swp-extension

cweagans commented 6 years ago

Good idea!