Announcement

Collapse
No announcement yet.

Deleting Nest camera image files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Deleting Nest camera image files

    Does anyone have a recommendation for automatically removing the Camera snapshot image files created by the Next plugin? Spud, any chance this could be added as a function in the plugin? I really have no reason to ever keep these files beyond their initial use/display, and it gets annoying to either manually delete them on a regular basis, or watch my system crash when the disk is filled.

  • #2
    I set up a small batch file which clears these files every day at 2 AM. It's triggered by an event at that time.

    Comment


    • #3
      To remove files older than a certain age,

      Event action: Run Another Program or Process

      Windows
      Program: /Windows/System32/forfiles.exe
      Parameters: /p ".\Data\Z-Wave" -m *.ZWave /D -90 /C "cmd /c del @path"

      Linux
      Program: /usr/bin/find
      Parameters: ./Data/Z-Wave -name '*.ZWave' -mtime +90 -exec rm {} \;

      These examples remove Z-Wave backup files *.ZWave from folder <HS3 root>/Data/Z-Wave that are older than 90 days.

      Comment

      Working...
      X