./occ files:scan --path="/admin/files/test/test1/test2"
Size of all folders should not be 0:
Confirmed on 8.2.3 and master
@nickvergessen did the etag propagate at least or did it also stop at the requested path ?
Because I can imagine some people using --path for the files:scan workaround for external storages, and use the path option to avoid rescanning everything fully and limit it to their external storages.
on my 8.2.3 installation at least the mtime got propagated to test and test/test1, I didn't note down the etag, so not sure.