How to use cli to scan file [ --scan --file "path to file.mkv" ] does not work ?

I would like to scan specific files is there a way to do it ?

I checked the manuals https://support.plex.tv/hc/en-us/articles/201242707-Plex-Media-Scanner-via-Command-Line
but cant make it work.

Scan is not for files but rather for sections. Did you want --analyze?

@gbooker02 said:
Scan is not for files but rather for sections. Did you want --analyze?

No i wanted to update only new added folders since they are in cloud and plex wont automatically get changes.

I managed to solve with with
/usr/lib/plexmediaserver/Plex\ Media\ Scanner --scan --refresh --section 2 --directory /path/

Correct. You can scan a folder. You cannot scan individual files.