Multiple Storage locations possible?

Galt
edited October 2025 in SecuritySpy

Hi folks


I stream continuous recordings for a set of cameras to a SSD JBOD. I would like to store snapshots of motion to my NAS for later processing by googles cameratrapai in which i catalog and count animals and dump these counts to an excel file with location, date and time stamp.

Any ideas?

Comments

  • If I'm understanding correctly, you want two different locations for the same camera: one for movies and the other for images? That's not a built-in feature: all files for a particular camera will be saved to the one location that has been set for that camera.

    One solution here would be to create an AppleScript called ProcessCapturedFile that moves the files to the right place. Use Script Editor to create the script, and save it to ~/SecuritySpy (i.e. the SecuritySpy folder within your Home folder). Upon completion of any file, SecuritySpy will invoke this script. The following should do it, which you can copy-paste into Script Editor:

    property dstPath : "/Path/To/Dst"
    
    on run args
    	set cameraNum to item 1 of args
    	set cameraName to item 2 of args
    	set filePath to item 3 of args
    	
    	if filePath ends with ".jpg" then
    		do shell script "mv " & quoted form of filePath & " " & quoted form of dstPath
    	end if
    end run
    

    The items cameraNum and cameraName are unused here but I've left them in, in case you want to use them for something.

  • ok that might work, thanks Ben. To be clear the snapshot cameras are different than the continuous recording cameras. The continuous cameras monitor the house. the snapshot camera is a game camera out in the pasture that ill use to count wildlife.

  • In that case it's even easier - you don't have to use a script - simply set each camera to record to the required destination using the camera-specific storage location setting under Settings > Cameras > Setup.

  • should have read the manual, sorry 😅