Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Fix directory name normalisation on OS X

Nick Craig-Wood58befe280c86
diff --git a/local/local.go b/local/local.go
index 8c7e2b6d4..c9bb9f2c2 100644
--- a/local/local.go
+++ b/local/local.go
@@ -183,7 +183,7 @@ func (f *Fs) list(out fs.ListOpts, remote string, dirpath string, level int) (su
if fi.IsDir() {
if out.IncludeDirectory(newRemote) {
dir := &fs.Dir{
- Name: f.cleanUtf8(newRemote),
+ Name: normString(f.cleanUtf8(newRemote)),
When: fi.ModTime(),
Bytes: 0,
Count: 0,