Shell command: ls -l on SMB directory?

Hi – I’m trying to implement a shell command / automation that scans a local SMB directory, every morning, and notifies me of ‘new’ files. Or at least notify / show me a list of files created in the previous 24 hours.

I have several security cameras that, when triggered by internal motion detection, transfer a 30sec video clip to an SMB directory on my LAN. I’d like Home Assistant to notify me that there are ‘new’ files, or a dashboard element that shows me a file tree or file list, perhaps filtered by date.

The cameras (6 of them) use this folder & file naming convention, which might complicate things:

//smb/cctv/camera_1/YYYYMMDD/HH/YYYMMDD_HHMMSS.mp4
//smb/cctv/camera_2/YYYYMMDD/HH/YYYMMDD_HHMMSS.mp4
...

My local SMB has guest access, so no need for user/pass, but feel free to add those instructions as it might might help someone else. I’ve got shell commands working in HA for other tasks, just not sure what to do to run ls -l (or similar) on an SMB.

Thanks in advance!