after I've seen that I forgot to add a logrotate-conf for php5-fpm.log on one Server, and now seeing that it has grown REALLY big, I'm asking myself how to split this Logfile into separate ones, with a Suffix like logrotate would produce. You know...like this mistake never happened :-P
But the closest that I came up with is:
split -C 10m -d php5-fpm.log php5-fpm.log.
...but this is producing files like:
php5-fpm.log.00
php5-fpm.log.01
php5-fpm.log.02
...
cutting off the leading zeros from the suffix would be a simple task, and could easily be done manually. But here is my problem: How could I revert the suffix, so that the file with the highest suffix becoming the one with the lowest??