Safe to delete logs?

Trying to save a little space and I noticed that the logs folder is 25GB.

(base) pi@raspberrypi:/mnt/external/DVR $ du -h -d1
12K	./Imports
1.2G	./Streaming
279M	./Database
1.6T	./TV
55G	./Movies
25G	./Logs
728M	./Images
1.7T	.

Is it safe just to do a rm * in the logs folder?

You might want to dig further into the ./Logs directory to see what's taking up space. There are symlinks (named video.mpg) in ./Logs/comskip to your recorded files.
If du is following the symlinks (shouldn't by default) it will report the size of your recorded files that were comskipped.

If you use TVE or Custom M3U channels, your ./Logs/recording/.../recording.log files are large.
Those recording.log files are only needed by the devs for troubleshooting issues with those recordings.

1 Like

Yeah the bulk of it is the ./Logs/recording/... folder. I'm guessing its safe to just delete that? That's basically the entirety of the 25GB.

(base) pi@raspberrypi:/mnt/external/DVR/Logs/recording $ du -h -d0
25G	.
(base) pi@raspberrypi:/mnt/external/DVR/Logs/recording $
1 Like

Yea it's fine to delete

1 Like