How can I scan files in a newly added hard disk?

Hey. Now I am using my nextcloud on ubuntu with raspberry pi. And I am considering adding more hard disks.

I think it would be great if I can add my storage ,which is data inside, and nextcloud could scan my files and updates its database. You know, it would take million minutes to upload several terabytes of data.

Is there any way to do so? I hope someone could help me. I have almost no knowledge about Linux at all. :frowning:

I’m using 21.0.4. Thanks!