##Google Analz## ##Microsoft## ##Googel## Swanand: vicidial Delete Voice Files

Monday, 14 October 2013

vicidial Delete Voice Files

Delete Files for a Month / Date

For the Month:
ls -la | grep "<month>" | /usr/bin/tr -s ' ' | /usr/bin/cut -d ' ' -f9 | xargs rm

eg

ls -la | grep "Aug" | /usr/bin/tr -s ' ' | /usr/bin/cut -d ' ' -f9 | xargs rm



For a Date
ls -la | grep "<month> <date>" | /usr/bin/tr -s ' ' | /usr/bin/cut -d ' ' -f9 | xargs rm

eg

ls -la | grep "Aug 15" | /usr/bin/tr -s ' ' | /usr/bin/cut -d ' ' -f9 | xargs rm

No comments:

Post a Comment

Featured post

Vicidial With WebRTC

Vicidial With WebRTC VICIDial is well known open source call center software. It has been in use by many small to large scaled con...