Script to delete all data from multiple files

its urgent!!!!!!111

i need a script which can delete data from multiple files.

plz if anybody knows the script plz write a mail to me :
(Email addresses are not allowed)

See number 10

hi
do one thing.

select files - [multiple files] in loop.
delete same file. -
and create new file of same name - in same path.

Regards,
Swapneel

and how will this really accomplish the OP task?
could you elaborate, pls!

hi vgersh99,

give me some time. i will try to do this
franklly i m new baby to unix and linux so to find commands i need some time.
i will revert u back asap

regards,
swapneel

Hi all,

echo " in loop"
for f in *.a
do
rm $f
cat/dev/null > $f
echo $f
done

here you canreplace .a to *... simple

Thank You.
Best Regards,
Swapneel