How does one delete recordings from a specific date? It's a good thing
that vicidial recordings are named by date. In my case, the recordings
we use are in MP3 format.
For example here, if I wanted to delete all MP3's from June 15, 2017, I just need to use the command below:
For example here, if I wanted to delete all MP3's from June 15, 2017, I just need to use the command below:
rm -f /var/spool/asterisk/monitorDONE/MP3/20170615*.mp3It would be helpful in freeing up space if the original .WAV files are also deleted since they eat up a lot of space. This isn't a date-specific command since we only need the MP3's.
rm -f /var/spool/asterisk/monitorDONE/ORIG/*.wav
No comments:
Post a Comment