How to get number of objects and directories using rclone

I just want the total number of objects and directories using rclone like the "Size" command but include directories too. Can't find the way to do it. Please help.

rclone lsjson robgs: --dirs-only -R --no-modtime 2>&1 | wc -l

Or

rclone lsf robgs: --dirs-only -R 2>&1 | wc -l

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.