Ls not listing files in folders that have a dot in name

What is the problem you are having with rclone?

rclone ls does not list files within a folder that has a . in it.

Run the command 'rclone version' and share the full output of the command.

rclone v1.70.3

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.8.0-90-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.4
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

backblaze

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone ls b2envlib:envlib/moana/cfdb/moana_precip.cfdb/

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[b2envlib]
type = b2
account = XXX
key = XXX
hard_delete = true
download_url = https://b2.envlib.xyz
memory_pool_use_mmap = true

A log from the command that you were trying to run with the -vv flag

2026/02/02 14:39:10 DEBUG : rclone: Version "v1.70.3" starting with parameters ["rclone" "ls" "b2envlib:envlib/moana/cfdb/moana_precip.cfdb/" "-vv"]
2026/02/02 14:39:10 DEBUG : Creating backend with remote "b2envlib:envlib/moana/cfdb/moana_precip.cfdb/"
2026/02/02 14:39:10 DEBUG : Using config file from "/home/mike/.config/rclone/rclone.conf"
2026/02/02 14:39:12 DEBUG : fs cache: renaming child cache item "b2envlib:envlib/moana/cfdb/moana_precip.cfdb/" to be canonical for parent "b2envlib:envlib/moana/cfdb"
2026/02/02 14:39:13 DEBUG : moana_precip.cfdb: Excluded
   876660 moana_precip.cfdb
2026/02/02 14:39:13 DEBUG : 9 go routines active
1 Like

welcome to the forum,

please rclone selfupdate and test again.


rclone touch b2:testdot123/dot.dot/file.ext

rclone ls b2:testdot123/dot.dot -vv
DEBUG : rclone: Version "v1.73.0" starting with parameters ["rclone" "ls" "b2:testdot123/dot.dot" "-vv"]
DEBUG : Creating backend with remote "b2:testdot123/dot.dot"
DEBUG : Using config file from "d:\\data\\rclone\\rclone.conf"
        0 file.ext

rclone ls b2:testdot123 -vv
DEBUG : rclone: Version "v1.73.0" starting with parameters ["rclone" "ls" "b2:testdot123" "-vv"]
DEBUG : Creating backend with remote "b2:testdot123"
DEBUG : Using config file from "d:\\data\\rclone\\rclone.conf"
        0 dot.dot/file.ext

Thanks for the reply. It looks like the problem is that I have a file with the same name as the β€œfolder”. More accurately, there are other files that have the file name in the path (key name). I guess rclone prioritises files over β€œfolders” for ls?

rclone touch b2:testdot123/dot.dot/dot.dot

rclone ls b2:testdot123/dot.dot
        0 dot.dot
        0 file.ext

rclone ls b2:testdot123
        0 dot.dot/dot.dot
        0 dot.dot/file.ext

rclone tree b2:testdot123
/
└── dot.dot
    β”œβ”€β”€ dot.dot
    └── file.ext

rclone lsf b2:testdot123 --recursive --absolute
/dot.dot/
/dot.dot/dot.dot
/dot.dot/file.ext

post the output of
rclone tree b2envlib:envlib/moana/cfdb -vv
and
rclone lsf b2envlib:envlib/moana/cfdb --recursive --absolute -vv

Output from rclone lsf b2envlib:envlib/moana/cfdb --recursive --absolute -vv

2026/02/03 10:57:32 DEBUG : rclone: Version "v1.73.0" starting with parameters ["rclone" "lsf" "b2envlib:envlib/moana/cfdb" "--recursive" "--absolute" "-vv"]
2026/02/03 10:57:32 DEBUG : Creating backend with remote "b2envlib:envlib/moana/cfdb"
2026/02/03 10:57:32 DEBUG : Using config file from "/home/mike/.config/rclone/rclone.conf"
/moana_precip.cfdb
/moana_precip.cfdb/_height.attrs
/moana_precip.cfdb/_latitude.attrs
/moana_precip.cfdb/_longitude.attrs
/moana_precip.cfdb/_precipitation.attrs
/moana_precip.cfdb/_time.attrs
/moana_precip.cfdb/adb01ebc1ba3433eb043527
/moana_precip.cfdb/height!0
/moana_precip.cfdb/latitude!0
/moana_precip.cfdb/longitude!0
/moana_precip.cfdb/precipitation!0.0.0.0
/moana_precip.cfdb/time!0
/moana_precip.cfdb/time!277200
/moana_precip.cfdb/
2026/02/03 10:57:34 DEBUG : 9 go routines active

Output from rclone tree b2envlib:envlib/moana/cfdb -vv

2026/02/03 10:58:42 DEBUG : rclone: Version "v1.73.0" starting with parameters ["rclone" "tree" "b2envlib:envlib/moana/cfdb" "-vv"]
2026/02/03 10:58:42 DEBUG : Creating backend with remote "b2envlib:envlib/moana/cfdb"
2026/02/03 10:58:42 DEBUG : Using config file from "/home/mike/.config/rclone/rclone.conf"
2026/02/03 10:58:43 DEBUG : Stat: filePath="/"
2026/02/03 10:58:43 DEBUG : >Stat: fi=, err=
2026/02/03 10:58:43 DEBUG : ReadDir: dir=/
2026/02/03 10:58:43 DEBUG : >ReadDir: names=[moana_precip.cfdb moana_precip.cfdb], err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb, err=
2026/02/03 10:58:43 DEBUG : ReadDir: dir=/moana_precip.cfdb
2026/02/03 10:58:43 DEBUG : >ReadDir: names=[_height.attrs _latitude.attrs _longitude.attrs _precipitation.attrs _time.attrs adb01ebc1ba3433eb043527 height!0 latitude!0 longitude!0 precipitation!0.0.0.0 time!0 time!277200], err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_height.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_height.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_latitude.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_latitude.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_longitude.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_longitude.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_precipitation.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_precipitation.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_time.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_time.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/adb01ebc1ba3433eb043527"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/adb01ebc1ba3433eb043527, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/height!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/height!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/latitude!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/latitude!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/longitude!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/longitude!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/precipitation!0.0.0.0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/precipitation!0.0.0.0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/time!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/time!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/time!277200"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/time!277200, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb, err=
2026/02/03 10:58:43 DEBUG : ReadDir: dir=/moana_precip.cfdb
2026/02/03 10:58:43 DEBUG : >ReadDir: names=[_height.attrs _latitude.attrs _longitude.attrs _precipitation.attrs _time.attrs adb01ebc1ba3433eb043527 height!0 latitude!0 longitude!0 precipitation!0.0.0.0 time!0 time!277200], err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_height.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_height.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_latitude.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_latitude.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_longitude.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_longitude.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_precipitation.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_precipitation.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/_time.attrs"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/_time.attrs, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/adb01ebc1ba3433eb043527"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/adb01ebc1ba3433eb043527, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/height!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/height!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/latitude!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/latitude!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/longitude!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/longitude!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/precipitation!0.0.0.0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/precipitation!0.0.0.0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/time!0"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/time!0, err=
2026/02/03 10:58:43 DEBUG : Stat: filePath="/moana_precip.cfdb/time!277200"
2026/02/03 10:58:43 DEBUG : >Stat: fi=moana_precip.cfdb/time!277200, err=
/
β”œβ”€β”€ moana_precip.cfdb
β”‚ β”œβ”€β”€ _height.attrs
β”‚ β”œβ”€β”€ _latitude.attrs
β”‚ β”œβ”€β”€ _longitude.attrs
β”‚ β”œβ”€β”€ _precipitation.attrs
β”‚ β”œβ”€β”€ _time.attrs
β”‚ β”œβ”€β”€ adb01ebc1ba3433eb043527
β”‚ β”œβ”€β”€ height!0
β”‚ β”œβ”€β”€ latitude!0
β”‚ β”œβ”€β”€ longitude!0
β”‚ β”œβ”€β”€ precipitation!0.0.0.0
β”‚ β”œβ”€β”€ time!0
β”‚ └── time!277200
└── moana_precip.cfdb
β”œβ”€β”€ _height.attrs
β”œβ”€β”€ _latitude.attrs
β”œβ”€β”€ _longitude.attrs
β”œβ”€β”€ _precipitation.attrs
β”œβ”€β”€ _time.attrs
β”œβ”€β”€ adb01ebc1ba3433eb043527
β”œβ”€β”€ height!0
β”œβ”€β”€ latitude!0
β”œβ”€β”€ longitude!0
β”œβ”€β”€ precipitation!0.0.0.0
β”œβ”€β”€ time!0
└── time!277200

2 directories, 24 files
2026/02/03 10:58:43 DEBUG : 9 go routines active

Seems odd that it’s duplicating the tree.

But as I mentioned, moana_precip.cfdb is both a file and a β€œfolder” at the same level…which I can understand would cause issues…

my examples have that exact setup and seems to work fine.


confirm that using b2 website

Thanks again for your help.

But your example above doesn’t have the the dot.dot file as both a file and folder in the same location…or maybe I’m reading it wrong…

Here’s my rclone ls b2envlib:envlib/moana/cfdb/ :

909171 moana_precip.cfdb
86 moana_precip.cfdb/_height.attrs
86 moana_precip.cfdb/_latitude.attrs
87 moana_precip.cfdb/_longitude.attrs
81 moana_precip.cfdb/_precipitation.attrs
54 moana_precip.cfdb/_time.attrs
1170 moana_precip.cfdb/adb01ebc1ba3433eb043527
219 moana_precip.cfdb/height!0
1364 moana_precip.cfdb/latitude!0
1279 moana_precip.cfdb/longitude!0
16687 moana_precip.cfdb/precipitation!0.0.0.0
282084 moana_precip.cfdb/time!0
199225 moana_precip.cfdb/time!277200