- -mtime: how old date from today
- -type f: files only; not directories
- -delete: delete them
Sunday, October 5, 2014
How to delete old video files
I was worrying about how much video files my Raspberry Pi can store. Once I get the survaillance camera recording 24/7, it will fill up the SD card quick. That's why I tried to use H.264 encoder, which will compress the video file by 90%. But still my SD card is not big enough to hold more than 30 days or 60 days.