well just cuz you posted it here doesn't mean it isn't a php question, maybe be more specific and say
"I want to replace file names blah, blah, blah, etc......... using
some linux commands, not php"
anyway, you could write a shell script to do it for you, and then
have a cron job run that shell script etc........