How do I rename multiple user defined folder/files?
Say for Ex. I have multiple folders like krish, moorthy, ravi, robert, etc..
I want to rename all these directories as script_1 , script_2, script_3 etc. I tried below script but it doesn't produce an output:
for i in *
do
mv $* $script_'$i'
done
While executing, it says it cannot move, cannot stat *
Please help me to go through this.