Here is my snippet:
#!/bin/sh
for fname in *
do
if [! -d "$fname"]
then
WHAT CAN I DO
fi
done
All new named files has to have this format O.fname - as you see preceeded by O. Can you please help? I know i have to use mv somewhere.