February 2013

Deleting files in Linux that are x-days old

Since I’m not running a PHP version provided by my distribution I’m responsible for cleaning up old session files myself. Aside from PHP another Perl webapp I run also doesn’t clean up its own session files. Luckily cleaning up these old files is something that’s very easy to do under Linux. find /tmp/sess_* -mtime +2 …

Deleting files in Linux that are x-days old Read More »

Scroll to Top