This is just first step.
Next step I need these files one by one moved to another directory.
One by one it is very important because after each moved file will go another script for parsing this file. After file will be parsed it will be deleted automatically. So, main problem is to move files one by one....
I will be VERY happy if somebody will be able to help me.
When I am trying to run second one, I am getting error:
bash-3.00$ for i in RC1.*; do mv $i /tmp/2/ ; done
mv: cannot rename RC1.BR80_12.20110615000000.20110615000000-000.ASCII to /tmp/2/: Not a directory
mv: cannot rename RC1.BR80_12.20110615010000.20110615010000-000.ASCII to /tmp/2/: Not a directory
mv: cannot rename RC1.BR80_12.20110615020000.20110615020000-000.ASCII to /tmp/2/: Not a directory
Yes, sorry it was my mistake...
Its working but I need it to moving to another directory with another way.
After moving one file to (for e.g.) to /tmp/2 directory, will be invoked another script for parsing this file. AFTER this file parsed, next file moving to the same directory and same script for pasring running again.....
Thanks to all for your help!
itkamaraj - that was exactly what I needed!
I spend so many days to load these files manually omg... )))
Thanks once more time!