saivert
public php v1 · immutable<?php$dh = opendir('.');while (($file = readdir($dh)) !== false) { if (!ereg('^\.|\.\.$', $file)) $newname = preg_replace(array('/^\d{2}\ /', '/\%20/'), array('', ' '), $file); print "Renaming $file\n"; print "TO: $newname\n"; //rename($file, $newname);}closedir($dh);?>