Tuesday, November 13, 2012

Beaucoup files



Yesterday had a new one at work.

For the first time I've found  and I had to deal witha lot, more than a lot actually... A million and a half to be precise, of files under one directory on one of the Linux servers.
On our servers those amounts of file nearly multiply by a factor of 4 what a temporary directory might hold, given a special event or something.

So, someone configured an Asterisk on it, and decided it was kinda funny to get TTS output onto a file, so, in the end, lots and lots and lots and lots and lots of  "*.ulaw" files... Up to our wazoo on "*.ulaw" files.
A little bit of find and some testing later, a quick Shell script to delete old crud from that directory was up & running.

Labels: ,

0 Comments:

Post a Comment

<< Home