Found this Delete Recordings
Excuse my silly question:
Where and how do I look for them ?
From GUI ?
Via SSH ?
I seem to have tried all options with no luck.
Thanks,
Found this Delete Recordings
Excuse my silly question:
Where and how do I look for them ?
From GUI ?
Via SSH ?
I seem to have tried all options with no luck.
Thanks,
I use SSH or you could use Filezilla if you a GUI look. Mine are located located:
/var/spool/asterisk/monitor
From there it has them in folders based ont the date. First being year, then month, then day i.e.
/var/spool/asterisk/monitor/2021/10/25
Thanks.
I found them. But how do you delete a specific file ?
Which one do you want to delete ?
Let’s say anything older than 90 days.
Thanks
find /var/spool/asterisk/monitor -mtime +90 -delete
find /var/spool/asterisk/monitor -empty -type d -delete
Thanks.
The first one seems to work.
However, I have trouble using the second one.
Let’s say I want to delete just 1 day.
What would that look like ?
Thanks
The second one is just to tidy up empty directories the first ‘find’ might leave
rm -rf /var/spool/asterisk/monitor/2021/10/10
would delete that directory along with all it’s content without asking for confirmation
Thanks for the explanation