Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking for a script that can be run on a linux server that will find all WordPress installs and report their versions, or report if a version is out of date. I've googled for something and it looks like Fantastico and Scriptalicious do this, but only if you install WordPress using their system.

I'm not against writing my own script, and will do so should there be nothing out there but I thought I'd ask first before putting in the time myself.

EDIT: I found http://code.google.com/p/wordpress-butler/ after a few more hours of searching. I'll be giving it a try, but it hasn't been updated since 2009.

share|improve this question

closed as off topic by John Gardeniers, Scott Pack, Ward, Magellan, Tom O'Connor Jan 6 '13 at 0:07

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
What have you tried, why didn't it do what you want? You may be better off asking over on wordpress.stackexchange.com. –  Iain Jan 5 '13 at 9:56
    
I haven't tried anything as I haven't found anything that fits this description. I thought I'd check here first as it is a server administration script I'm looking for, thought was a better fit here but will try wp.stack should no answers turn up. –  Jmichelsen Jan 5 '13 at 11:08
add comment

2 Answers

up vote 2 down vote accepted
find . -name 'version.php' -path '*wp-includes/*' -print -exec grep '$wp_version =' {} \; -exec echo '' \;
share|improve this answer
add comment

A while back I wrote CrudMiner for this particular purpose -- checking what sorts of crap is installed in the webroot of a large client-managed vhost server. It's both simple and powerful, but I have changed jobs since then and haven't been able to maintain the version info for the products.

If you are willing to help out with keeping an eye on wordpress versions, it'll do what you need. :)

share|improve this answer
    
very cool, I'll check this out and see how it fairs with wp-butler –  Jmichelsen Jan 7 '13 at 0:54
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.