How to delete recordings?

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.


I use SSH or you could use Filezilla if you a GUI look. Mine are located located:


From there it has them in folders based ont the date. First being year, then month, then day i.e.



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.


find /var/spool/asterisk/monitor -mtime  +90 -delete
find /var/spool/asterisk/monitor -empty -type d -delete


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 ?


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

1 Like

Thanks for the explanation

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.