diff --git a/src/sync.d b/src/sync.d index 7efb3337..4158d3a1 100644 --- a/src/sync.d +++ b/src/sync.d @@ -472,11 +472,13 @@ final class SyncEngine } // skip filtered items - if (!baseName(path).matchFirst(skipFile).empty) { - return; - } - if (isPathExcluded(path, selectiveSyncPaths)) { - return; + if (path != ".") { + if (!baseName(path).matchFirst(skipFile).empty) { + return; + } + if (isPathExcluded(path, selectiveSyncPaths)) { + return; + } } if (isDir(path)) {