Rescan external storage

I know how to rescan a user’s hierarchy with the occ command (occ files:scan user), but how can we rescan an external storage? Thanks!

You can do this using the path parameter.

For example, set up an external storage with a folder name of ‘externaltest’ under the ‘bob’ user. The occ command would then be,

./occ files:scan bob --path=/bob/files/externaltest

The path is equivalent to the ‘Folder name’ you set when adding the external storage.

2 Likes

That actually works, Thank you!!